mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
fix typo in comment (#81)
This commit is contained in:
parent
5091dc6acf
commit
8deb7f96e7
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ static_assert(MAGIC_ENUM_RANGE_MAX < (std::numeric_limits<std::int16_t>::max)(),
|
|||
|
||||
static_assert(MAGIC_ENUM_RANGE_MAX > MAGIC_ENUM_RANGE_MIN, "MAGIC_ENUM_RANGE_MAX must be greater than MAGIC_ENUM_RANGE_MIN.");
|
||||
|
||||
// If need cunstom names for enum, add specialization enum_name for necessary enum type.
|
||||
// If need custom names for enum, add specialization enum_name for necessary enum type.
|
||||
template <typename E>
|
||||
constexpr string_view enum_name(E) noexcept {
|
||||
static_assert(std::is_enum_v<E>, "magic_enum::customize::enum_name requires enum type.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue