Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-08-25 11:20:35


Markus Werle:

>> >> template <class T1, class T2 ... class T10>
>> >> char is_tr1_tuple_test(const std::tr1::tuple<T1....T10>&);

...

> But this code then only works if and only if the maximum number
> of arguments is exactly 10, right?

It should work for tuples with up to ten parameters, even if the maximum is
higher. (I think that the straightforward partial specialization approach
should, too.)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net