diff --git a/include/nameof.hpp b/include/nameof.hpp index 5a64313..0378b09 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -161,7 +161,7 @@ static_assert(NAMEOF_ENUM_RANGE_MAX < (std::numeric_limits::max)() static_assert(NAMEOF_ENUM_RANGE_MAX > NAMEOF_ENUM_RANGE_MIN, "NAMEOF_ENUM_RANGE_MAX must be greater than NAMEOF_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 constexpr string_view enum_name(E) noexcept { static_assert(std::is_enum_v, "nameof::customize::enum_name requires enum type."); @@ -169,13 +169,13 @@ constexpr string_view enum_name(E) noexcept { return {}; } -// If need cunstom name for type, add specialization type_name for necessary type. +// If need custom name for type, add specialization type_name for necessary type. template constexpr string_view type_name() noexcept { return {}; } -// If need cunstom name for member, add specialization member_name for necessary type. +// If need custom name for member, add specialization member_name for necessary type. template constexpr string_view member_name() noexcept { return {};