fixed_string: add a size
query
This commit is contained in:
parent
de40f961e3
commit
a436504d27
@ -23,6 +23,8 @@ namespace cruft {
|
||||
struct fixed_string {
|
||||
char value[N + 1] {};
|
||||
|
||||
static std::size_t size (void) { return N; }
|
||||
|
||||
constexpr
|
||||
fixed_string (char const _value[N+1]) noexcept
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user