|
Boost : |
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-05-24 10:59:27
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk