Template Function magic_enum::enum_cast(underlying_type_t<E>)
Defined in File magic_enum.hpp
Function Documentation
-
template<typename E, detail::enum_subtype S = detail::subtype_v<E>>
constexpr auto magic_enum::enum_cast(underlying_type_t<E> value) noexcept -> detail::enable_if_t<E, optional<std::decay_t<E>>>