diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f4a2c3..10a7689 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.6) -project(nameof VERSION "0.7.1" LANGUAGES CXX) +project(nameof VERSION "0.7.2" LANGUAGES CXX) option(NAMEOF_OPT_BUILD_EXAMPLES "Build nameof examples" ON) option(NAMEOF_OPT_BUILD_TESTS "Build and perform nameof tests" ON) diff --git a/include/nameof.hpp b/include/nameof.hpp index d4d9d27..20be299 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -5,7 +5,7 @@ // | |\ | (_| | | | | | | __/ (_) | | | |____|_| |_| // |_| \_|\__,_|_| |_| |_|\___|\___/|_| \_____| // https://github.com/Neargye/nameof -// vesion 0.7.1 +// vesion 0.7.2 // // Licensed under the MIT License . // SPDX-License-Identifier: MIT @@ -239,7 +239,7 @@ template >> } // namespace detail -// nameof_enum used to obtain the simple (unqualified) string name of enum variable. +// nameof_enum used to obtain the simple (unqualified) string enum name of enum variable. template >>> [[nodiscard]] constexpr std::string_view nameof_enum(T value) noexcept { constexpr bool s = std::is_signed_v>>; @@ -247,7 +247,7 @@ template return detail::nameof_enum_t, min>{}(static_cast(value)); } -// nameof_enum used to obtain the simple (unqualified) string name of static storage enum variable. +// nameof_enum used to obtain the simple (unqualified) string enum name of static storage enum variable. template >>> [[nodiscard]] constexpr std::string_view nameof_enum() noexcept { return detail::nameof_enum_impl(); @@ -267,7 +267,7 @@ template // NAMEOF_FULL used to obtain the full string name of variable, function, enum, macro. #define NAMEOF_FULL(...) ::nameof::detail::nameof_impl(#__VA_ARGS__, true) -// NAMEOF_ENUM used to obtain the simple (unqualified) string name of enum variable. +// NAMEOF_ENUM used to obtain the simple (unqualified) string enum name of enum variable. #define NAMEOF_ENUM(...) ::nameof::nameof_enum(__VA_ARGS__) // NAMEOF_TYPE used to obtain the string name of variable type.