|
using | value_type = char |
|
using | iterator = char const * |
|
using | const_iterator = char const * |
|
using | pointer = char const * |
|
using | reference = char const & |
|
using | size_type = size_t |
|
|
constexpr | string_view (string_view const &)=default |
|
constexpr | string_view (pointer zstr) noexcept |
|
constexpr | string_view (pointer data, size_type size) noexcept |
|
constexpr string_view & | operator= (string_view const &)=default |
|
constexpr string_view & | operator= (pointer zstr) noexcept |
|
constexpr pointer | data () const noexcept |
|
constexpr size_type | size () const noexcept |
|
constexpr bool | empty () const noexcept |
|
constexpr | operator bool () const noexcept |
|
constexpr const_iterator | begin () const noexcept |
|
constexpr const_iterator | end () const noexcept |
|
constexpr value_type | front () const noexcept |
|
constexpr value_type | back () const noexcept |
|
constexpr value_type | operator[] (size_type index) const noexcept |
|
constexpr void | pop_front () noexcept |
|
constexpr void | pop_back () noexcept |
|
constexpr void | remove_prefix (size_type count) noexcept |
|
constexpr void | remove_suffix (size_type count) noexcept |
|
constexpr string_view | first (size_type count) const noexcept |
|
constexpr string_view | last (size_type count) const noexcept |
|
constexpr string_view | substr (size_type offset, size_type count=npos) const noexcept |
|
constexpr bool | starts_with (string_view str) const noexcept |
|
constexpr bool | ends_with (string_view str) const noexcept |
|
constexpr size_type | find (value_type ch) const noexcept |
|
constexpr size_type | find_first_of (string_view chars) const noexcept |
|
constexpr size_type | find_last_of (string_view chars) const noexcept |
|
|
static constexpr size_type | npos = ~size_type{0} |
|
The documentation for this class was generated from the following file:
- library/foundation/public/potato/foundation/string_view.h