File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 enum class NAME : UNDERLYING { __VA_ARGS__ }; \
1818 constexpr auto metaEnumFor (enum19::ADL*, NAME*) { \
1919 using Enum19_ValueWrapper = ::enum19::details::ValueWrapper<UNDERLYING>; \
20- constexpr Enum19_ValueWrapper __VA_ARGS__; \
20+ constexpr Enum19_ValueWrapper __VA_ARGS__; /* NOLINT */ \
2121 return ::enum19::details::buildMetaEnumFor<NAME>(#NAME, #__VA_ARGS__, __VA_ARGS__); \
2222 } \
2323 ENUM19_EXTRAS (NAME)
@@ -66,8 +66,6 @@ template<class Underlying> struct ValueWrapper {
6666 constexpr operator Underlying () const { return value; }
6767};
6868
69- template <class ... Args> constexpr auto countArgs (Args&&...) -> size_t { return sizeof ...(Args); }
70-
7169template <class Enum , size_t NameN, size_t BodyN, class ... Args>
7270constexpr auto buildMetaEnumFor (
7371 const ConstCharArray<NameN>& name,
You can’t perform that action at this time.
0 commit comments