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


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to