Searched defs:MoveAwareView (Results 1 – 1 of 1) sorted by relevance
32 struct MoveAwareView : std::ranges::view_base { struct34 constexpr MoveAwareView() = default; argument35 constexpr MoveAwareView(MoveAwareView&& other) : moves(other.moves + 1) { other.moves = 1; } in MoveAwareView() argument36 constexpr MoveAwareView& operator=(MoveAwareView&& other) { in operator =() argument41 constexpr const int* begin() const { return &moves; } in begin()42 constexpr const int* end() const { return &moves + 1; } in end()