Home
last modified time | relevance | path

Searched defs:MoveAwareView (Results 1 – 1 of 1) sorted by relevance

/llvm-project/libcxx/test/std/ranges/range.adaptors/range.zip/
H A Dctor.views.pass.cpp32 struct MoveAwareView : std::ranges::view_base { struct
34 constexpr MoveAwareView() = default; argument
35 constexpr MoveAwareView(MoveAwareView&& other) : moves(other.moves + 1) { other.moves = 1; } in MoveAwareView() argument
36 constexpr MoveAwareView& operator=(MoveAwareView&& other) { in operator =() argument
41 constexpr const int* begin() const { return &moves; } in begin()
42 constexpr const int* end() const { return &moves + 1; } in end()