Searched defs:CopyableView (Results 1 – 6 of 6) sorted by relevance
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() argument30 constexpr bool operator==(const CopyableView& rhs) const { return view_ == rhs.view_; } argument
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
24 struct CopyableView : std::ranges::view_base { struct26 constexpr explicit CopyableView(int* ptr) : ptr_(ptr) {} in CopyableView() function31 static_assert(std::ranges::view<CopyableView>); argument
40 struct CopyableView : std::ranges::view_base { struct42 explicit CopyableView() noexcept(IsNoexcept) = default; argument45 constexpr explicit CopyableView(int start) noexcept : start_(start) {} in CopyableView() function49 static_assert(std::ranges::view<CopyableView<true>>); argument
61 struct CopyableView : std::ranges::view_base { struct63 constexpr explicit CopyableView(int start = 0) : start_(start) {} in start_() argument65 constexpr CopyableView& operator=(CopyableView const&) = default; argument66 constexpr int *begin() const { return globalBuff + start_; } in begin()67 constexpr int *end() const { return globalBuff + 8; } in end()
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