Template Function magic_enum::enum_contains(underlying_type_t<E>)

Function Documentation

template<typename E, detail::enum_subtype S = detail::subtype_v<E>>
constexpr auto magic_enum::enum_contains(underlying_type_t<E> value) noexcept -> detail::enable_if_t<E, bool>