Searched refs:StrView (Results 1 – 4 of 4) sorted by relevance
75 struct StrView : std::ranges::view_base { struct77 constexpr explicit StrView() = default; argument78 constexpr StrView(const char* ptr) : buffer_(ptr) {} in StrView() function83 constexpr StrView(R&& r) : buffer_(r.begin(), r.end()) {} in StrView() function86 constexpr bool operator==(const StrView& rhs) const { return buffer_ == rhs.buffer_; } in operator ==() argument88 static_assert( std::ranges::random_access_range<StrView>);89 static_assert( std::ranges::view<StrView>);90 static_assert( std::is_copy_constructible_v<StrView>);94 using V = std::ranges::lazy_split_view<StrView, StrView>; in test()105 StrView input("abc def"); in test()
92 using StrView = std::basic_string_view<CharT>; in doConcatSourceAllocTest() typedef112 StrView RHS(R); in doConcatSourceAllocTest()184 using StrView = std::basic_string_view<CharT>; in doConcatSourceTest() typedef207 StrView RHS(R); in doConcatSourceTest()214 StrView RHS(R); in doConcatSourceTest()
130 using StrView = std::basic_string_view<CharT>; in doAppendSourceAllocTest() typedef156 StrView RHS(R); in doAppendSourceAllocTest()240 using StrView = std::basic_string_view<CharT>; in doAppendSourceTest() typedef263 StrView RHS(R); in doAppendSourceTest()270 StrView RHS(R); in doAppendSourceTest()
94 std::string_view StrView; in StringFind() local95 StrView.find("n"); in StringFind()