tuple_array(3) tuple_array(3)

NAME

tuple_array - homegeneous rectangular tuple

SYNOPSIS

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;

DESCRIPTION

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.

STANDARDS

A standard CFL type-factory, with the trailing underscore omitted.