Lines Matching refs:array
35 std::array<T, 5> array = {T{0}, T{1}, T{2}, T{3}, T{4}}; in tests() local
42 test_bounded_ptr<QualT> const ptr(array.begin() + 0, array.begin(), array.end()); in tests()
44 _assert(raw == &array[0]); in tests()
51 test_bounded_ptr<QualT> const ptr(array.begin() + 1, array.begin(), array.end()); in tests()
53 _assert(raw == &array[1]); in tests()
60 test_bounded_ptr<QualT> const ptr(array.begin() + 2, array.begin(), array.end()); in tests()
62 _assert(raw == &array[2]); in tests()
69 test_bounded_ptr<QualT> const ptr(array.begin() + 4, array.begin(), array.end()); in tests()
71 _assert(raw == &array[4]); in tests()
78 test_bounded_ptr<QualT> const ptr(array.end(), array.begin(), array.end()); in tests()
80 _assert(raw == array.end()); in tests()
87 test_bounded_ptr<QualT> ptr(array.end() - 1, array.begin(), array.end() - 2); in tests()
89 _assert(raw == &array[4]); in tests()
96 test_bounded_ptr<QualT> ptr(array.begin() + 1, array.begin(), array.end()); in tests()
98 _assert(raw == &array[1]); in tests()
105 test_bounded_ptr<QualT> ptr(array.begin(), array.begin() + 1, array.end()); in tests()
107 _assert(raw == &array[0]); in tests()