|
using | value_type = char |
|
using | iterator = char const * |
|
using | const_iterator = char const * |
|
using | pointer = char * |
|
using | const_pointer = char const * |
|
using | reference = char const & |
|
using | size_type = std::size_t |
|
|
| string (string const &str) |
|
| string (string &&rhs) |
|
| string (const_pointer zstr) |
|
| string (const_pointer data, size_type size) |
|
| string (zstring_view view) |
|
| string (string_view view) |
|
string & | operator= (string const &)=delete |
|
string & | operator= (string &&rhs) noexcept |
|
const_pointer | c_str () const noexcept |
|
const_pointer | data () const noexcept |
|
size_type | size () const noexcept |
|
bool | empty () const noexcept |
|
| operator bool () const noexcept |
|
const_iterator | begin () const noexcept |
|
const_iterator | end () const noexcept |
|
value_type | front () const noexcept |
|
value_type | back () const noexcept |
|
value_type | operator[] (size_type index) const noexcept |
|
string_view | first (size_type count) const noexcept |
|
string_view | last (size_type count) const noexcept |
|
string_view | substr (size_type offset, size_type count=npos) const noexcept |
|
bool | starts_with (string_view str) const noexcept |
|
bool | ends_with (string_view str) const noexcept |
|
size_type | find (value_type ch) const noexcept |
|
size_type | find_first_of (string_view chars) const noexcept |
|
size_type | find_last_of (string_view chars) const noexcept |
|
| operator string_view () const noexcept |
|
| operator zstring_view () const noexcept |
|
string & | assign (const_pointer str, size_type length) |
|
string & | assign (const_pointer zstr) |
|
void | reset () |
|
pointer | release () noexcept |
|
string & | swap (string &other) noexcept |
|
|
static string | take_ownership (pointer str, size_type length) |
|
|
static constexpr size_type | npos = ~size_type{0} |
|
|
bool | operator== (string const &lhs, string const &rhs) noexcept |
|
bool | operator== (string const &lhs, const_pointer rhs) noexcept |
|
bool | operator!= (string const &lhs, string const &rhs) noexcept |
|
bool | operator< (string const &lhs, string const &rhs) noexcept |
|
The documentation for this class was generated from the following file:
- library/foundation/public/potato/foundation/string.h