mirror of
https://github.com/Neargye/magic_enum
synced 2026-06-08 12:00:02 +00:00
remove static assert for static string because it does not solve issue (#125)
This commit is contained in:
@@ -180,7 +180,6 @@ struct char_equal_to {
|
||||
|
||||
template <std::size_t N>
|
||||
class static_string {
|
||||
static_assert(N < UINT16_MAX, "Length of static_string must be less than UINT16_MAX.");
|
||||
public:
|
||||
constexpr explicit static_string(string_view str) noexcept : static_string{str, std::make_index_sequence<N>{}} {
|
||||
assert(str.size() == N);
|
||||
|
||||
Reference in New Issue
Block a user