Boost logo

Boost :

From: AlisdairM (alisdair.meredith_at_[hidden])
Date: 2006-08-06 06:46:26


Ion Gaztañaga wrote:

> It would be also nice a way to define a tuple of N objects of the
> same type: auto tup = make_tuple_n<bool, 6>;

Isn't this spelled:

std::tr1::array< bool, 6 > tup; ?

tr1 array should supply everything necessary to act as a homogeneous
tuple, other than using the actual name 'tuple' - which I guess could
show up in some template specialization cases.

-- 
AlisdairM

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk