u5e
UnicodeTextC++Library
|
offers write access to the iterator at a given position More...
#include <u5e/utf8_iterator.hpp>
Public Member Functions | |
proxyobject (utf8_iterator< NativeIterator > &refin) | |
proxyobject & | operator= (const codepoint c) |
Public Member Functions inherited from u5e::codepoint | |
constexpr | codepoint () |
constexpr | codepoint (int32_t v) |
constexpr | codepoint (const codepoint &x)=default |
constexpr codepoint & | operator= (const codepoint &x)=default |
constexpr codepoint & | operator= (int c) |
constexpr | operator int () const |
Additional Inherited Members | |
Public Attributes inherited from u5e::codepoint | |
codepoint_traits::int_type | value |
offers write access to the iterator at a given position
This is necessary because operator= can only be done after operator* is executed, this wouldn't be necessary if there was a dedicated operator for 'assign to the dereference'.
Definition at line 292 of file utf8_iterator.hpp.
|
inline |
Create from the iterator
Definition at line 303 of file utf8_iterator.hpp.
|
inline |
Assign a codepoint to this position, writing as many octets as necessary. Note that if you do this in the middle of a string, there is a likely chance that you will render the remainder of the string invalid. So it's really only a good idea to do this as an "append" operation.
Definition at line 316 of file utf8_iterator.hpp.