fix NAMEOF_CONST_ENUM

This commit is contained in:
neargye 2019-05-03 15:57:44 +05:00
parent c4b3ce3e34
commit 8fbf1fb1f8

View file

@ -241,7 +241,7 @@ template <auto V>
using D = std::decay_t<decltype(V)>; using D = std::decay_t<decltype(V)>;
static_assert(std::is_enum_v<D>, "nameof::nameof_enum requires enum type."); static_assert(std::is_enum_v<D>, "nameof::nameof_enum requires enum type.");
return nameof_enum_impl<D, V>(); return detail::nameof_enum_impl<D, V>();
} }
// Obtains string name of type. // Obtains string name of type.