Lines Matching refs:T
15 struct T { int i; }; struct
17 template <typename T>
23 test_bounded_array<T, 5> array = {T{0}, T{1}, T{2}, T{3}, T{4}}; in tests()
24 test_bounded_ptr<T> begin = array.begin(); in tests()
25 test_bounded_ptr<T> end = array.end(); in tests()
30 test_bounded_array<T, 5> const array = {T{0}, T{1}, T{2}, T{3}, T{4}}; in tests()
31 test_bounded_ptr<T const> begin = array.begin(); in tests()
32 test_bounded_ptr<T const> end = array.end(); in tests()
39 test_bounded_array<T, 0> array = {}; in tests()
40 test_bounded_ptr<T> begin = array.begin(); in tests()
41 test_bounded_ptr<T> end = array.end(); in tests()
46 test_bounded_array<T, 0> const array = {}; in tests()
47 test_bounded_ptr<T const> begin = array.begin(); in tests()
48 test_bounded_ptr<T const> end = array.end(); in tests()
55 using A = test_bounded_array<T, 10>; in tests()
56 static_assert(std::is_same_v<typename A::iterator, test_bounded_ptr<T> >); in tests()
57 static_assert(std::is_same_v<typename A::const_iterator, test_bounded_ptr<T const> >); in tests()
62 tests<T>();