MCPcopy Create free account
hub / github.com/Neargye/magic_enum / value

Function value

include/magic_enum/magic_enum.hpp:724–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722
723template <typename E, int O, enum_subtype S, typename U = std::underlying_type_t<E>>
724constexpr E value(std::size_t i) noexcept {
725 return static_cast<E>(ualue<E, O, S>(i));
726}
727
728template <typename E, enum_subtype S, typename U = std::underlying_type_t<E>>
729constexpr int reflected_min() noexcept {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected