string: add advance operator for tokeniser::iterator
This commit is contained in:
parent
5028de600a
commit
f404598edc
@ -78,6 +78,13 @@ namespace util {
|
||||
return *this;
|
||||
}
|
||||
|
||||
iterator operator+ (int count)
|
||||
{
|
||||
auto next = *this;
|
||||
std::advance (next, count);
|
||||
return next;
|
||||
}
|
||||
|
||||
const range_type& operator* (void) const
|
||||
{
|
||||
return m_range;
|
||||
|
Loading…
Reference in New Issue
Block a user