|
| fixed_size_string () noexcept |
| Default construction. More...
|
|
template<typename... C, typename = std::enable_if_t<sizeof...(C) == N>> |
constexpr | fixed_size_string (C... c) noexcept |
| Construction from a pack of characters.
|
|
| fixed_size_string (const char(&s)[N]) noexcept |
| Construction from a C-string literal.
|
|
auto | empty () const noexcept |
| Indicates if the string is empty.
|
|
auto | size () const noexcept -> span_size_t |
| Returns the size of the string.
|
|
auto | data () const noexcept |
| Returns pointer to the internally-stored character data.
|
|
auto | c_str () const noexcept |
| Returns pointer to the internally-stored character data. More...
|
|
auto | begin () noexcept -> iterator |
| Returns iterator to the start of the string.
|
|
auto | begin () const noexcept -> const_iterator |
| Returns const iterator to the start of the string.
|
|
auto | end () noexcept -> iterator |
| Returns iterator past the end of the string.
|
|
auto | end () const noexcept -> const_iterator |
| Returns const iterator past the end of the string.
|
|
auto | view () const noexcept -> string_view |
| Returns a view over the internal character data storage.
|
|
| operator string_view () const noexcept |
| Returns a view over the internal character data storage. More...
|
|
template<span_size_t N>
class eagine::fixed_size_string< N >
String with maximum fixed-size internal storage.