Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-10 | Added operator- member implementation and improved test cases | Adrian Kummerländer | |
* operator- takes a reference to a const std::string::const_iterator and as such enables determining the actual position of a codepoint within a string * ranged for loops in test cases now take the iterator value by rvalue reference instead of by value | |||
2013-10-05 | Initial commit | Adrian Kummerländer | |
* CodepointIterator is a simple C++ iterator class which iterates through unicode codepoints in a UTF8-encoded string * It is derived from std::iterator and implements the std::bidirectional_iterator_tag * Dereferencing an instance of the class provides the codepoint as char32_t * Tests require Google Test and use UTF8-samples from http://www.columbia.edu/~fdc/utf8/ |