|
DAW string_view
|
Namespaces | |
| namespace | string_view_literals |
Classes | |
| struct | any_of_t |
| A predicate type used in the find based routine to return true when the element is one of the specified characters. More... | |
| struct | basic_string_view |
| The class template basic_string_view describes an object that can refer to a constant contiguous sequence of char-like objects with the first element of the sequence at position zero. More... | |
| struct | nodiscard_t |
| Tag type for specifying that the searched for term/item is not to be removed from string_view. More... | |
| struct | none_of_t |
| A predicate type used in the find based routine to return true when the element is none of the specified characters. More... | |
Typedefs | |
| using | string_view = basic_string_view< char > |
| using | u16string_view = basic_string_view< char16_t > |
| using | u32string_view = basic_string_view< char32_t > |
| using | wstring_view = basic_string_view< wchar_t > |
Enumerations | |
| enum class | string_view_bounds_type { pointer , size } |
| How is the end of range stored in string_view. More... | |
Functions | |
| template<typename CharT , std::size_t N> | |
| basic_string_view (CharT const (&)[N]) -> basic_string_view< CharT, default_string_view_bounds_type > | |
| template<typename CharT > | |
| basic_string_view (CharT const *s, std::size_t count) -> basic_string_view< CharT > | |
Variables | |
| template<auto needle, auto... needles> | |
| static constexpr any_of_t< decltype(needle), needle, needles... > | any_of { } |
| constexpr string_view_bounds_type | default_string_view_bounds_type |
| constexpr nodiscard_t | nodiscard = nodiscard_t{ } |
| template<auto needle, auto... needles> | |
| static constexpr none_of_t< decltype(needle), needle, needles... > | none_of { } |
| using daw::sv2::string_view = typedef basic_string_view<char> |
| using daw::sv2::u16string_view = typedef basic_string_view<char16_t> |
| using daw::sv2::u32string_view = typedef basic_string_view<char32_t> |
| using daw::sv2::wstring_view = typedef basic_string_view<wchar_t> |
|
strong |
How is the end of range stored in string_view.
| daw::sv2::basic_string_view | ( | CharT | const(&)[N] | ) | -> basic_string_view< CharT, default_string_view_bounds_type > |
| daw::sv2::basic_string_view | ( | CharT const * | s, |
| std::size_t | count | ||
| ) | -> basic_string_view< CharT > |
|
inlinestaticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexpr |