| 42 | |
| 43 | template<typename Enumeration> |
| 44 | constexpr auto integer_cast(const Enumeration value) -> typename std::underlying_type<Enumeration>::type |
| 45 | { |
| 46 | return static_cast<typename std::underlying_type<Enumeration>::type>(value); |
| 47 | } |
| 48 | |
| 49 | #endif /* VENUS_COMMON_H_ */ |
nothing calls this directly
no outgoing calls
no test coverage detected