Searched defs:CopyableView (Results 1 – 6 of 6) sorted by relevance
24 struct CopyableView : std::ranges::view_base { struct26 constexpr explicit CopyableView(int* ptr) : ptr_(ptr) {} in CopyableView() argument31 static_assert(std::ranges::view<CopyableView>); argument
29 struct CopyableView : std::ranges::view_base { struct31 constexpr explicit CopyableView(int start = 0) : start_(start) {} in start_() argument33 constexpr CopyableView& operator=(CopyableView const&) = default; argument34 constexpr int *begin() const { return globalBuff + start_; } in begin()35 constexpr int *end() const { return globalBuff + 8; } in end()
39 struct CopyableView : std::ranges::view_base { struct42 constexpr explicit CopyableView(int* b, int* e) : begin_(b), end_(e) { } in CopyableView() argument46 static_assert(std::ranges::view<CopyableView>); argument
39 struct CopyableView : std::ranges::view_base { struct41 explicit CopyableView() noexcept(IsNoexcept) = default; argument44 constexpr explicit CopyableView(int start) noexcept : start_(start) {} in CopyableView() function48 static_assert(std::ranges::view<CopyableView<true>>); argument
23 struct CopyableView : std::ranges::view_base { struct25 constexpr explicit CopyableView() = default; argument26 constexpr CopyableView(const char* ptr) : view_(ptr) {} in CopyableView() argument27 constexpr CopyableView(std::string_view v) : view_(v) {} in CopyableView() function30 constexpr bool operator==(const CopyableView& rhs) const { return view_ == rhs.view_; } argument
33 struct CopyableView : std::ranges::view_base { struct35 constexpr explicit CopyableView(int start = 0) : start_(start) {} in start_() argument37 constexpr CopyableView& operator=(CopyableView const&) = default; argument41 static_assert(std::ranges::view<CopyableView>); argument