tuple_array(3) | tuple_array(3) |
tuple_array - homegeneous rectangular tuple
Generate a homogeneous and rectangular tuple type.
#include <cfl/tuple/tuple_array.hpp>
typedef tuple_array_t <int, 2, 3> T;
std::is_same <T,
tuple_c
<
tuple_c <int, int, int>,
tuple_c <int, int, int>
>
>::value == true;
Generate a homogeneous and rectangular tuple type, from a provided element type and extent. There is no restriction on the element type, also references are allowed.
A standard CFL type-factory, with the trailing underscore omitted.