Helper template for unpacking of identifier into a character string. More...
#include <eagine/identifier.hpp>
Public Types | |
| using | size_type = span_size_t |
| Alias for the string lenght type. | |
| using | value_type = char |
| Alias for the string character type. | |
| using | iterator = const char * |
| Alias for the iterator type. | |
| using | const_iterator = iterator |
| Alias for the const iterator type. | |
Public Member Functions | |
| auto | data () const noexcept |
| Returns the pointer to the start of the unpacked identifier name. | |
| auto | size () const noexcept |
| Returns the length of the unpacked character string. | |
| auto | begin () const -> const_iterator |
| Returns an iterator to the start of the unpacked identifier name. | |
| auto | end () const -> const_iterator |
| Returns an iterator past the end of the unpacked identifier name. | |
| auto | view () const -> string_view |
| Returns a string view covering the unpacked identifier name. | |
| auto | str () const -> std::string |
| Returns the unpacked identifier name as a standard string. | |
| auto | str (std::string &s) const -> std::string & |
| Assigns the unpacked identifier name into a standard string. More... | |
Helper template for unpacking of identifier into a character string.
|
inline |
Assigns the unpacked identifier name into a standard string.