
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. On 24/05/07, Thorsten Ottosen <thorsten.ottosen@dezide.com> wrote:
Christian Holmquist skrev:
Yes and no. Container traits could be useful with container operations like insert, not for outputting a range of values (Boost.Range is more generic here).
Can I determine from a type T if it is a range, or if I can construct a range from it? I remember looking for something like this but couldn't find it.
There is no is_range<T>::value trait. So no.
Is that needed for output?
-Thorsten _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost