From b0d3d3ac539dda5e3172e94e2f0a9ca238c40484 Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Sun, 3 May 2015 05:11:01 -0400 Subject: [PATCH] Added type name. --- EnumInternal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EnumInternal.h b/EnumInternal.h index cb6b289..0526057 100644 --- a/EnumInternal.h +++ b/EnumInternal.h @@ -503,6 +503,8 @@ template class _GeneratedArrays; using _Integral = UnderlyingType; \ \ public: \ + constexpr static const char* _name = #EnumType; \ + \ enum _Enumerated : _Integral { __VA_ARGS__ }; \ \ protected: \