fixed_string: add a size query

This commit is contained in:
Danny Robson 2023-08-10 12:15:34 +10:00
parent de40f961e3
commit a436504d27

View File

@ -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
{