added new convinience funcs

[SVN r31969]
This commit is contained in:
Thorsten Jørgen Ottosen
2005-12-09 22:33:57 +00:00
parent c08103b1c5
commit 51f7fe9878

View File

@ -325,7 +325,17 @@ namespace boost
BOOST_ASSERT( sz < size() );
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:
// begin and end iterators
IteratorT m_Begin;