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

Function make_array

include/magic_enum/magic_enum_containers.hpp:475–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473
474template <typename E, typename... Ts>
475constexpr std::enable_if_t<(enum_count<E>() == sizeof...(Ts)), array<E, std::remove_cv_t<std::common_type_t<Ts...>>>> make_array(Ts&&... ts) {
476 return {{std::forward<Ts>(ts)...}};
477}
478
479inline constexpr detail::raw_access_t raw_access{};
480

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected