Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2007-05-24 10:47:28


shunsuke skrev:
> Thorsten Ottosen wrote:
>>> Well, one thing I am a little worried about is that
>>> 'boost::iterator_range' doesn't work with 'boost::is_convertible'.
>> Could you explain please?
>
> is_convertible< int, iterator_range<char *> > returns "true".
>

ok, so it works afterall, you're just not satisfied with the answer :-)

I guess this is because we can say

iterator_range<...> r = ...;
if( r )
{
   ...
}

What is your problem with that?

-Thorsten


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