cstring not final
This commit is contained in:
parent
dde974339d
commit
0414495682
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ static_assert(NAMEOF_ENUM_RANGE_MAX < (std::numeric_limits<std::int16_t>::max)()
|
|||
static_assert(NAMEOF_ENUM_RANGE_MAX > NAMEOF_ENUM_RANGE_MIN, "NAMEOF_ENUM_RANGE_MAX must be greater than NAMEOF_ENUM_RANGE_MIN.");
|
||||
|
||||
template <std::size_t N>
|
||||
struct [[nodiscard]] cstring final {
|
||||
struct [[nodiscard]] cstring {
|
||||
static_assert(N > 0, "Expression does not have a name.");
|
||||
|
||||
constexpr cstring(std::string_view str) noexcept : cstring{str, std::make_index_sequence<N>{}} {}
|
||||
|
|
Loading…
Reference in a new issue