Hotfix to add back advance_begin and advance_end.

This commit is contained in:
Neil Groves committed 2014-08-04 17:53:14 +01:00
1 parent 4716c1efec
commit 7fb879a283
5 files changed
+77

No files matched your search

+14
View File
@@ -261,6 +261,20 @@ public:
iterator_range_::operator=( static_cast<const iterator_range_&>(r) );
return *this;
}
sub_range& advance_begin(
BOOST_DEDUCED_TYPENAME base::difference_type n)
{
std::advance(this->m_Begin, n);
return *this;
}
sub_range& advance_end(
BOOST_DEDUCED_TYPENAME base::difference_type n)
{
std::advance(this->m_End, n);
return *this;
}
};
} // namespace 'boost'