mirror of
https://github.com/boostorg/range.git
synced 2025-07-30 12:57:28 +02:00
Merge pull request #47 from boostorg/fix-boost-size_type
Don't assume that because type `T` is a range that `const T` is also a range.
This commit is contained in:
@ -83,11 +83,6 @@ namespace boost
|
|||||||
detail::range_size<T>
|
detail::range_size<T>
|
||||||
{ };
|
{ };
|
||||||
|
|
||||||
template< class T >
|
|
||||||
struct range_size<const T > :
|
|
||||||
detail::range_size<T>
|
|
||||||
{ };
|
|
||||||
|
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user