|
|
@@ -12,7 +12,7 @@ |
|
|
|
namespace cppcore { \ |
|
|
|
namespace __impl { \ |
|
|
|
template<> \ |
|
|
|
struct enum_value_traits<enum> \ |
|
|
|
struct enum_value_traits<enum, void> \ |
|
|
|
{ \ |
|
|
|
using enum_type = enum; \ |
|
|
|
using enum_value_pair_type = std::pair<enum_type, std::string>; \ |
|
|
@@ -38,7 +38,7 @@ namespace cppcore |
|
|
|
* |
|
|
|
* @tparam T_enum Enum type. |
|
|
|
*/ |
|
|
|
template<typename T_enum> |
|
|
|
template<typename T_enum, typename = void> |
|
|
|
struct enum_value_traits |
|
|
|
{ |
|
|
|
using enum_type = T_enum; |
|
|
|