[boost][range] - Fixed erroneous change by 'Wash' the size() function is intended to be for Random Access Ranges only to be in keeping with the other Boost.Range size() functions.

[SVN r68177]
This commit is contained in:
Neil Groves
2011-01-16 00:05:12 +00:00
parent 868858b844
commit 96c78123f0

View File

@ -231,7 +231,7 @@ namespace boost
difference_type size() const
{
return std::distance(m_Begin, m_End);
return m_End - m_Begin;
}
bool empty() const