Lines Matching refs:T
11 struct T { struct
12 T() : i(4) in T() function
15 T(int k) : i(k) in T() argument
20 operator==(T const& a, T const& b) in operator ==() argument
26 template <typename T>
31 test_bounded_array<T, 5> array = {T(1), T(2), T(3), T(4), T(5)}; in tests()
33 CHECK(array[0] == T(1)); in tests()
34 CHECK(array[1] == T(2)); in tests()
35 CHECK(array[2] == T(3)); in tests()
36 CHECK(array[3] == T(4)); in tests()
37 CHECK(array[4] == T(5)); in tests()
41 test_bounded_array<T, 5> array{T(1), T(2), T(3), T(4), T(5)}; in tests()
43 CHECK(array[0] == T(1)); in tests()
44 CHECK(array[1] == T(2)); in tests()
45 CHECK(array[2] == T(3)); in tests()
46 CHECK(array[3] == T(4)); in tests()
47 CHECK(array[4] == T(5)); in tests()
52 test_bounded_array<T, 0> array = {}; in tests()
58 tests<T>();