|
UString
0.1.0
UTF-8 C++11 string library
|
#include <UString.h>


Public Types | |
| typedef UChar | value_type |
| using | reference = UChar |
Public Member Functions | |
| IteratorBase ()=default | |
| IteratorBase & | operator++ () |
| IteratorBase | operator++ (int) |
| IteratorBase & | operator-- () |
| IteratorBase | operator-- (int) |
| IterType | base () const |
| const UChar | operator* () const |
| bool | operator!= (const IteratorBase &other) |
| bool | operator== (const IteratorBase &other) |
Friends | |
| class | UString |
Base class for Iterators used in UString
This is a bidirectional iterator Random access can not be provided because all index operations need to iterate through UTF-8 characters, which can be multiple bytes. The iterator is not writable because UTF-8 characters are not a fixed size changing one codepoint to another could overwrite another codepoint. This would invalidate any iterators to the string.
|
default |
Create a empty Iterator without a reference to any part of a string
|
inline |
The base iterator type
|
inline |
Compare this iterator with a other
| other | The iterator to compare it to |
|
inline |
Return the value of the current position
|
inline |
Increment the iterator position
|
inline |
Increment the iterator position
|
inline |
Decrement the iterator position
|
inline |
Decrement the iterator position
|
inline |
Compare this iterator with a other
| other | The iterator to compare it to |
1.8.11