Template Function magic_enum::containers::get(const array<E, V, Index>&)

Function Documentation

Warning

doxygenfunction: Unable to resolve function “magic_enum::containers::get” with arguments “(const array<E, V, Index>&)”. 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 83] template<auto I, typename E, typename V, typename Index> constexpr std::enable_if_t<(std::is_integral_v< decltype(I)> &&I< enum_count< E >)), V & > get (array< E, V, Index > &a) noexcept ———————————————————————————–^ Potential other error: Error in parsing template argument list. If type argument: Invalid C++ declaration: Expected identifier in nested name. [error at 84] template<auto I, typename E, typename V, typename Index> constexpr std::enable_if_t<(std::is_integral_v< decltype(I)> &&I< enum_count< E >)), V & > get (array< E, V, Index > &a) noexcept ————————————————————————————^ If non-type argument: Invalid C++ declaration: Expected “…>”, “>” or “,” in template argument list. [error at 139] template<auto I, typename E, typename V, typename Index> constexpr std::enable_if_t<(std::is_integral_v< decltype(I)> &&I< enum_count< E >)), V & > get (array< E, V, Index > &a) noexcept ——————————————————————————————————————————————-^ 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 83] template<auto I, typename E, typename V, typename Index> constexpr std::enable_if_t<(std::is_integral_v< decltype(I)> &&I< enum_count< E >)), V & > get (array< E, V, Index > &a) noexcept ———————————————————————————–^ Potential other error: Error in parsing template argument list. If type argument: Invalid C++ declaration: Expected identifier in nested name. [error at 84] template<auto I, typename E, typename V, typename Index> constexpr std::enable_if_t<(std::is_integral_v< decltype(I)> &&I< enum_count< E >)), V & > get (array< E, V, Index > &a) noexcept ————————————————————————————^ If non-type argument: Invalid C++ declaration: Expected “…>”, “>” or “,” in template argument list. [error at 139] template<auto I, typename E, typename V, typename Index> constexpr std::enable_if_t<(std::is_integral_v< decltype(I)> &&I< enum_count< E >)), V & > get (array< E, V, Index > &a) noexcept ——————————————————————————————————————————————-^ If declarator-id: Invalid C++ declaration: Expected identifier in nested name. [error at 83] template<auto I, typename E, typename V, typename Index> constexpr std::enable_if_t<(std::is_integral_v< decltype(I)> &&I< enum_count< E >)), V & > get (array< E, V, Index > &a) noexcept ———————————————————————————–^