trac 8803 - size(const Rng&) returns size_type. It also no longer requires random access.

This commit is contained in:
Neil Groves
2014-03-04 12:54:07 +00:00
parent 5d6867d35c
commit b84385cfce

View File

@ -73,6 +73,10 @@ namespace boost
typename range_difference<T>::type typename range_difference<T>::type
distance( const T& r ); distance( const T& r );
template< class T >
typename range_size<T>::type
size( const T& r );
// //
// Bidirectional Range functions // Bidirectional Range functions
// //
@ -93,14 +97,6 @@ namespace boost
typename range_reverse_iterator<const T>::type typename range_reverse_iterator<const T>::type
rend( const T& r ); rend( const T& r );
//
// Random Access Range functions
//
template< class T >
typename range_difference<T>::type
size( const T& r );
// //
// Special const Range functions // Special const Range functions
// //