
24 May
2007
24 May
'07
2:47 p.m.
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