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