From a6cfc0aed9e105736556bbefc22f6b144d5f26a9 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 20 Dec 2015 11:41:10 -1000 Subject: [PATCH] Add increment operator --- include/utf8proc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/utf8proc.h b/include/utf8proc.h index 692d935..6bff32e 100644 --- a/include/utf8proc.h +++ b/include/utf8proc.h @@ -242,6 +242,10 @@ public: } return *this; } + UTF8Iterator& operator++() + { + return this->operator+=(1); + } UTF8Iterator operator+(size_t v) const { UTF8Iterator ret(m_it);