Lines Matching refs:array
23 std::array<T, 5> array = {T{0}, T{1}, T{2}, T{3}, T{4}}; in tests() local
31 test_bounded_ptr<QualT> const ptr(array.end(), array.begin(), array.end()); in tests()
35 _assert(ptr == array.end()); in tests()
39 _assert(&*res == &array[4]); in tests()
43 _assert(&*res == &array[3]); in tests()
47 _assert(&*res == &array[2]); in tests()
51 _assert(&*res == &array[1]); in tests()
55 _assert(&*res == &array[0]); in tests()
65 test_bounded_ptr<QualT> const ptr(array.begin(), array.begin(), array.end()); in tests()
69 _assert(&*res == &array[0]); in tests()
73 _assert(&*res == &array[1]); in tests()
77 _assert(&*res == &array[2]); in tests()
81 _assert(&*res == &array[3]); in tests()
85 _assert(&*res == &array[4]); in tests()
89 _assert(res == array.end()); in tests()
95 test_bounded_ptr<QualT> const ptr(array.begin() + 4, array.begin(), array.end()); in tests()
97 _assert(&*ptr == &array[4]); in tests()