Add increment operator

This commit is contained in:
Jack Andersen 2015-12-20 11:41:10 -10:00
parent be6361e130
commit a6cfc0aed9
1 changed files with 4 additions and 0 deletions

View File

@ -242,6 +242,10 @@ public:
} }
return *this; return *this;
} }
UTF8Iterator& operator++()
{
return this->operator+=(1);
}
UTF8Iterator operator+(size_t v) const UTF8Iterator operator+(size_t v) const
{ {
UTF8Iterator ret(m_it); UTF8Iterator ret(m_it);