diff options
Diffstat (limited to 'src/utf8_iterator.hh')
| -rw-r--r-- | src/utf8_iterator.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utf8_iterator.hh b/src/utf8_iterator.hh index c145f900..9d10df2a 100644 --- a/src/utf8_iterator.hh +++ b/src/utf8_iterator.hh @@ -130,6 +130,11 @@ public: return get_value(); } + CodepointType read() noexcept(noexcept_policy) + { + return (CodepointType)utf8::read_codepoint<InvalidPolicy>(m_it, m_end); + } + const BaseIt& base() const noexcept(noexcept_policy) { return m_it; } private: |
