
9 Nov
2007
9 Nov
'07
3:25 p.m.
David Abrahams skrev:
on Fri Nov 09 2007, Thorsten Ottosen <nesotto-AT-cs.aau.dk> wrote:
Dear all,
As suggested by several people, I have started to rely on range_difference<T>::type in all places of the library.
I have also updated the docs w.r.t new concepts and are working on polishing them.
1.35 will introduce a new function
template< class T > BOOST_DEDUCED_TYPENAME range_difference<T>::type size( const T& r );
Really, you're returning the difference_type and not the size_type?
Yes, that was the intension. Iterators don't have a size_type per se, and so it complicated the whole thing a little to make the user worry about this. -Thorsten