repr 0.1
Reconstructable string representations and more
|
#include <const_string.h>
Public Member Functions | |
constexpr | const_string ()=default |
constexpr | explicit (false) const _string(char const (&literal)[N+1]) |
constexpr | const_string (std::string_view data) |
constexpr | operator char const * () const noexcept |
constexpr auto | to_sv () const noexcept |
constexpr bool | empty () const noexcept |
constexpr char const & | operator[] (std::size_t Idx) const |
Public Attributes | |
char | value [N+1] {} |
Static Public Attributes | |
static constexpr auto | size = N |
Friends | |
constexpr auto | operator== (const_string lhs, std::string_view rhs) noexcept |
|
constexprdefault |
|
inlineexplicitconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
friend |
|
staticconstexpr |
char librepr::const_string< N >::value[N+1] {} |