sparrow 1.0.0
Loading...
Searching...
No Matches
sparrow::mpl::std_array Concept Reference

Concept for std::array types. More...

#include <mp_utils.hpp>

Concept definition

template<typename T>
concept sparrow::mpl::std_array = requires {
typename std::remove_cvref_t<T>::value_type;
requires std::same_as<
std::array<typename std::remove_cvref_t<T>::value_type, std::tuple_size<std::remove_cvref_t<T>>::value>,
std::remove_cvref_t<T>>;
}
Concept for std::array types.

Detailed Description

Concept for std::array types.

This concept identifies standard array types by checking for the required type members and ensuring the type structure matches std::array.

Template Parameters
TType to check
Postcondition
True if T is a std::array instantiation

Definition at line 1113 of file mp_utils.hpp.