Template Function magic_enum::containers::to_array(T(&&))
Defined in File magic_enum_containers.hpp
Function Documentation
Warning
doxygenfunction: Unable to resolve function “magic_enum::containers::to_array” with arguments “(T (&&))”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Main error: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 74] template<typename E, typename T, std::size_t N> constexpr std::enable_if_t<(enum_count< E >)==N), array< E, std::remove_cv_t< T > > > to_array (T(&a)[N]) ————————————————————————–^ Potential other error: Error in parsing template argument list. If type argument: Invalid C++ declaration: Expected identifier in nested name. [error at 75] template<typename E, typename T, std::size_t N> constexpr std::enable_if_t<(enum_count< E >)==N), array< E, std::remove_cv_t< T > > > to_array (T(&a)[N]) —————————————————————————^ If non-type argument: Invalid C++ declaration: Expected “…>”, “>” or “,” in template argument list. [error at 95] template<typename E, typename T, std::size_t N> constexpr std::enable_if_t<(enum_count< E >)==N), array< E, std::remove_cv_t< T > > > to_array (T(&a)[N]) ———————————————————————————————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Main error: Invalid C++ declaration: Expected identifier in nested name. [error at 74] template<typename E, typename T, std::size_t N> constexpr std::enable_if_t<(enum_count< E >)==N), array< E, std::remove_cv_t< T > > > to_array (T(&a)[N]) ————————————————————————–^ Potential other error: Error in parsing template argument list. If type argument: Invalid C++ declaration: Expected identifier in nested name. [error at 75] template<typename E, typename T, std::size_t N> constexpr std::enable_if_t<(enum_count< E >)==N), array< E, std::remove_cv_t< T > > > to_array (T(&a)[N]) —————————————————————————^ If non-type argument: Invalid C++ declaration: Expected “…>”, “>” or “,” in template argument list. [error at 95] template<typename E, typename T, std::size_t N> constexpr std::enable_if_t<(enum_count< E >)==N), array< E, std::remove_cv_t< T > > > to_array (T(&a)[N]) ———————————————————————————————–^ If declarator-id: Invalid C++ declaration: Expected identifier in nested name. [error at 74] template<typename E, typename T, std::size_t N> constexpr std::enable_if_t<(enum_count< E >)==N), array< E, std::remove_cv_t< T > > > to_array (T(&a)[N]) ————————————————————————–^