Home
last modified time | relevance | path

Searched refs:__bounded_iter (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/libcxx/include/__iterator/
H A Dbounded_iter.h37 struct __bounded_iter { struct
53 _LIBCPP_HIDE_FROM_ABI __bounded_iter(__bounded_iter const&) = default;
54 _LIBCPP_HIDE_FROM_ABI __bounded_iter(__bounded_iter&&) = default;
63 _LIBCPP_HIDE_FROM_ABI __bounded_iter& operator=(__bounded_iter const&) = default; argument
159 operator-(__bounded_iter const& __x, __bounded_iter const& __y) _NOEXCEPT {
170 operator==(__bounded_iter const& __x, __bounded_iter const& __y) _NOEXCEPT {
174 operator!=(__bounded_iter const& __x, __bounded_iter const& __y) _NOEXCEPT {
178 operator<(__bounded_iter const& __x, __bounded_iter const& __y) _NOEXCEPT {
182 operator>(__bounded_iter const& __x, __bounded_iter const& __y) _NOEXCEPT {
186 operator<=(__bounded_iter const& __x, __bounded_iter const& __y) _NOEXCEPT {
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/iterators/bounded_iter/
H A Darithmetic.pass.cpp28 std::__bounded_iter<Iter> iter = std::__make_bounded_iter(Iter(b), Iter(b), Iter(e)); in tests()
29 std::__bounded_iter<Iter>& result = ++iter; in tests()
35 std::__bounded_iter<Iter> iter = std::__make_bounded_iter(Iter(b), Iter(b), Iter(e)); in tests()
36 std::__bounded_iter<Iter> result = iter++; in tests()
43 std::__bounded_iter<Iter>& result = --iter; in tests()
50 std::__bounded_iter<Iter> result = iter--; in tests()
57 std::__bounded_iter<Iter>& result = (iter += 3); in tests()
64 std::__bounded_iter<Iter> result = iter + 3; in tests()
71 std::__bounded_iter<Iter> result = 3 + iter; in tests()
78 std::__bounded_iter<Iter>& result = (iter -= 3); in tests()
[all …]
H A Ddereference.pass.cpp35 std::__bounded_iter<Iter> const iter1 = std::__make_bounded_iter(Iter(b), Iter(b), Iter(e)); in tests()
36 std::__bounded_iter<Iter> const iter2 = std::__make_bounded_iter(Iter(e), Iter(b), Iter(e)); in tests()
57 std::__bounded_iter<Iter> const iter = std::__make_bounded_iter(Iter(b), Iter(b), Iter(e)); in test_death()
58 std::__bounded_iter<Iter> const oob = std::__make_bounded_iter(Iter(e), Iter(b), Iter(e)); in test_death()
H A Dpointer_traits.pass.cpp24 using BoundedIter = std::__bounded_iter<Iter>; in tests()
35 std::__bounded_iter<Iter> const iter1 = std::__make_bounded_iter(Iter(b), Iter(b), Iter(e)); in tests()
36 std::__bounded_iter<Iter> const iter2 = std::__make_bounded_iter(Iter(e), Iter(b), Iter(e)); in tests()
H A Dcomparison.pass.cpp24 std::__bounded_iter<Iter> const iter1 = std::__make_bounded_iter(Iter(b), Iter(b), Iter(e)); in tests()
25 std::__bounded_iter<Iter> const iter2 = std::__make_bounded_iter(Iter(e), Iter(b), Iter(e)); in tests()
H A Dtypes.compile.pass.cpp30 using BoundedIter1 = std::__bounded_iter<Iterator>;
40 using BoundedIter2 = std::__bounded_iter<int*>;
/llvm-project-15.0.7/libcxx/include/
H A Dspan238 using iterator = __bounded_iter<pointer>;
436 using iterator = __bounded_iter<pointer>;