diff --git a/include/nameof.hpp b/include/nameof.hpp index 07eddff..fb9f4e2 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -567,7 +567,7 @@ constexpr auto n() noexcept { #endif return name; } else { - return cstring<0>{}; + return string_view{}; } } @@ -732,9 +732,6 @@ constexpr auto values() noexcept { template inline constexpr auto values_v = values(); -template > -using values_t = decltype((values_v)); - template inline constexpr auto count_v = values_v.size();