|
| | StringViewImpl ()=default |
| |
| | StringViewImpl (StringViewImpl const &)=default |
| |
| constexpr | StringViewImpl (Iterator begin, Iterator end, Enc encoding={}) |
| |
template<concepts::detail::ConstantString Other>
requires (!concepts::RemoveCVRefSameAs<StringViewImpl, Other> && concepts::SameAs<meta::Encoding<Other>, Enc> && concepts::BorrowedContainer<Other>) |
| constexpr | StringViewImpl (Other &&other) |
| |
| constexpr | StringViewImpl (CodeUnit const *data, size_t count, Enc encoding={}) |
| |
template<concepts::ContiguousIterator It, concepts::SizedSentinelFor< It > Sent>
requires (!concepts::SameAs<It, Iterator> && concepts::SameAs<meta::IteratorValue<It>, CodeUnit> && !concepts::ConvertibleTo<Sent, size_t> && encoding::Universal<Enc>) |
| constexpr | StringViewImpl (It it, Sent sent, Enc encoding={}) |
| |
template<concepts::ContiguousContainer Con>
requires (!concepts::RemoveCVRefSameAs<StringViewImpl, Con> && (!concepts::detail::ConstantString<Con> || !concepts::SameAs<meta::Encoding<Con>, Enc>) && concepts::SizedContainer<Con> && concepts::ContainerOf<Con, CodeUnit> && concepts::BorrowedContainer<Con> && encoding::Universal<Enc>) |
| constexpr | StringViewImpl (Con &&container, Enc encoding={}) |
| |
| constexpr | StringViewImpl (encoding::AssumeValid, CodeUnit const *data, size_t count, Enc encoding={}) |
| |
template<concepts::ContiguousIterator It, concepts::SizedSentinelFor< It > Sent>
requires (concepts::SameAs<meta::IteratorValue<It>, CodeUnit> && !concepts::ConvertibleTo<Sent, size_t>) |
| constexpr | StringViewImpl (encoding::AssumeValid, It it, Sent sent, Enc encoding={}) |
| |
template<concepts::ContiguousContainer Con>
requires (concepts::SizedContainer<Con> && concepts::ContainerOf<Con, CodeUnit> && concepts::BorrowedContainer<Con>) |
| constexpr | StringViewImpl (encoding::AssumeValid, Con &&container, Enc encoding={}) |
| |
| auto | operator= (StringViewImpl const &) -> StringViewImpl &=default |
| |
| constexpr auto | span () const |
| |
| constexpr auto | encoding () const -> Enc |
| |
| constexpr void | replace_begin (Iterator new_begin) |
| |
| constexpr void | replace_end (Iterator new_end) |
| |
| constexpr auto | size () const -> usize requires(encoding::Contiguous< Enc >) |
| |
| constexpr auto | operator[] (usize index) const -> CodePoint requires(encoding::Contiguous< Enc >) |
| |
| constexpr auto | at (usize index) const -> Optional< CodePoint > requires(encoding::Contiguous< Enc >) |
| |
| constexpr auto | size_bytes () const -> usize |
| |
| constexpr auto | size_code_units () const -> usize |
| |
| constexpr auto | empty () const -> bool |
| |
| constexpr auto | data () const |
| |
| constexpr auto | begin () const |
| |
| constexpr auto | end () const |
| |
| constexpr auto | front () const |
| |
| constexpr auto | back () const |
| |
| constexpr auto | starts_with (CodePoint code_point) const -> bool |
| |
| constexpr auto | starts_with (Con &&container) const -> bool |
| |
| constexpr auto | ends_with (CodePoint code_point) const -> bool |
| |
| constexpr auto | ends_with (Con &&container) const -> bool |
| |
| constexpr auto | contains (CodePoint code_point) const -> bool |
| |
| constexpr auto | contains (Con &&container) const -> bool |
| |
| constexpr auto | substr (Iterator first, Optional< Iterator > last={}) const |
| |
| constexpr auto | substr (usize offset, Optional< usize > count={}) const |
| |
| constexpr auto | find (CodePoint code_point) const |
| |
| constexpr auto | find (Con &&container) const |
| |
| constexpr auto | rfind (CodePoint code_point) const |
| |
| constexpr auto | rfind (Con &&container) const |
| |
| constexpr auto | find_first_of (CodePoint code_point) const |
| |
| constexpr auto | find_first_of (Con &&container) const |
| |
| constexpr auto | find_first_not_of (CodePoint code_point) const |
| |
| constexpr auto | find_first_not_of (Con &&container) const |
| |
| constexpr auto | find_last_of (CodePoint code_point) const |
| |
| constexpr auto | find_last_of (Con &&container) const |
| |
| constexpr auto | find_last_not_of (CodePoint code_point) const |
| |
| constexpr auto | find_last_not_of (Con &&container) const |
| |
| constexpr auto | view () const |
| |
| constexpr auto | iterator_at_offset (usize index) const |
| |
| constexpr auto | unicode_code_points () const |
| |
| constexpr auto | to_owned () const |
| |