traits: addd array specialisation for is_container
This commit is contained in:
parent
b8253536ea
commit
eeb5215921
@ -304,6 +304,10 @@ struct is_container<
|
|||||||
> : public std::true_type {};
|
> : public std::true_type {};
|
||||||
|
|
||||||
|
|
||||||
|
template <size_t N, typename ValueT>
|
||||||
|
struct is_container<std::array<ValueT,N>> : public std::true_type {};
|
||||||
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
constexpr auto is_container_v = is_container<T>::value;
|
constexpr auto is_container_v = is_container<T>::value;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user