forked from boostorg/range
added new convinience funcs
[SVN r31969]
This commit is contained in:
@ -326,6 +326,16 @@ namespace boost
|
|||||||
return m_Begin[sz];
|
return m_Begin[sz];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void advance_begin( difference_type n )
|
||||||
|
{
|
||||||
|
std::advance( m_Begin, n );
|
||||||
|
}
|
||||||
|
|
||||||
|
void advance_end( difference_type n )
|
||||||
|
{
|
||||||
|
std::advance( m_End, n );
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// begin and end iterators
|
// begin and end iterators
|
||||||
IteratorT m_Begin;
|
IteratorT m_Begin;
|
||||||
|
Reference in New Issue
Block a user