
24 May
2007
24 May
'07
3:22 p.m.
Thorsten Ottosen wrote:
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?
I meant is_convertible< *AnyType*, // From iterator_range<char *> // To
returns "true". -- Shunsuke Sogame