MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / integer_cast

Function integer_cast

jni/venus/common.h:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43template<typename Enumeration>
44constexpr 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_ */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected