mirror of
https://github.com/boostorg/range.git
synced 2025-07-29 12:27:42 +02:00
trac 8803 - size(const Rng&) returns size_type. It also no longer requires random access.
This commit is contained in:
@ -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
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user