| 122 | template<typename Enum, std::underlying_type_t<Enum> MaxValue, |
| 123 | std::underlying_type_t<Enum> Value, typename Functor> |
| 124 | constexpr void ForEachEnumValueRecursive_(Functor& func) |
| 125 | { |
| 126 | if constexpr (Value < MaxValue) { |
| 127 | func.template operator()<static_cast<Enum>(Value)>(); |
| 128 | ForEachEnumValueRecursive_<Enum, MaxValue, Value + 1>(func); |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | template<typename Enum, std::underlying_type_t<Enum> MaxValue, |
| 133 | std::underlying_type_t<Enum> Value, typename Functor, typename ReturnT> |
nothing calls this directly
no outgoing calls
no test coverage detected