From d69f91daa513585d37b4bc600fb6af8b6d99a073 Mon Sep 17 00:00:00 2001 From: neargye Date: Fri, 7 May 2021 11:17:30 +0300 Subject: [PATCH] fix typo --- include/nameof.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {};