string: add advance operator for tokeniser::iterator

This commit is contained in:
Danny Robson 2018-04-01 14:46:32 +10:00
parent 5028de600a
commit f404598edc

View File

@ -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;