MCPcopy Create free account
hub / github.com/fmtlib/fmt / underlying

Function underlying

include/fmt/format.h:4007–4009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4005 */
4006template <typename Enum>
4007constexpr auto underlying(Enum e) noexcept -> underlying_t<Enum> {
4008 return static_cast<underlying_t<Enum>>(e);
4009}
4010
4011namespace enums {
4012template <typename Enum, FMT_ENABLE_IF(std::is_enum<Enum>::value)>

Callers 1

TESTFunction · 0.50

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.40