Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-05-24 11:57:59


Christian Holmquist skrev:
>> There is no is_range<T>::value trait. So no.
>> Is that needed for output?
>
> Well, if I have a boost::tuple<std::vector<int> >, how would I output that
> using the stream operators of boost::tuple? or boost::variant, or fusion
> sequences, etc..
>
> With container traits I get both input and output for free here.

OK, although I'm a bit confused: boost::tuple<> is not a container in
the normal sense. So what has this got to do with container traits?

-Thorsten


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