Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2003-03-02 15:13:49


Philippe A. Bouchard wrote:

[...]

> typelists but I guess some derivative of tuple<> will be better
> eventually. The member function postponed<>::set<>() properly initialized
> the boolean to true:
>
> struct A : postponed< typelist<char, typelist<short, typelist<long,
> typelist<double, void> > > > >
> {
> };

[...]

The tuple<> like interface will look like, but I think the number of
template parameters cannot be infinite this way:

struct A : postponed<char, short, long, double>
{
};

struct A : postponed<char, short, long, double, float, char const *>
{
};

-- 
Philippe A. Bouchard

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