forked from boostorg/range
[boost][range] - Trac item 4226 - Implemented a safe_bool utility class that is intended to be refactored into a core area. Integrated this into iterator_range.
[SVN r67463]
This commit is contained in:
@ -15,7 +15,6 @@
|
||||
#include <boost/range/iterator_range.hpp>
|
||||
#include <boost/iterator/iterator_adaptor.hpp>
|
||||
#include <iterator>
|
||||
#include <iostream>
|
||||
|
||||
namespace boost
|
||||
{
|
||||
@ -206,14 +205,11 @@ namespace boost
|
||||
private:
|
||||
void increment()
|
||||
{
|
||||
std::cout << "increment() - before = " << (this->base_reference() - m_first);
|
||||
base_iterator& it = this->base_reference();
|
||||
if ((m_last - it) > m_stride)
|
||||
it += m_stride;
|
||||
else
|
||||
it = m_last;
|
||||
|
||||
std::cout << " after = " << (this->base_reference() - m_first) << std::endl;
|
||||
}
|
||||
|
||||
void decrement()
|
||||
|
Reference in New Issue
Block a user