SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
tt::is_std_array< T > Struct Template Reference

Check if type T is a std::array. More...

#include <IsStdArray.hpp>

Detailed Description

template<typename T>
struct tt::is_std_array< T >

Check if type T is a std::array.

Details

Given a type T derives from std::true_type if T is a std::array and from std::false_type if T is not a std::array.

Usage

For any type T

using result = tt::is_std_array<T>;
Check if type T is a std::array.
Definition IsStdArray.hpp:42

Returns: std::bool_constant

Semantics: If T is a std::array then

otherwise

typename result::type = std::bool_constant<false>;

Example

"Failed testing type trait is_std_array");
"Failed testing type trait is_std_array");
"Failed testing type trait is_std_array");
"Failed testing type trait is_std_array");
"Failed testing type trait is_std_array");
See also
is_a is_std_array_of_size
Template Parameters
Tthe type to check

The documentation for this struct was generated from the following file:
  • src/Utilities/TypeTraits/IsStdArray.hpp