TextIterator is great for std::strings with multi-byte strings in them, but if you have a pre-allocated buffer that you don't wish to copy into an std::string, it would be nice to be able to construct TextIterator on top of it.
It looks like it would be difficult to change TextIterator as it is, to support const unsigned char* in addition to std::string::const_iterator, but since iterators...
2009-11-26 12:58:58 UTC in POCO C++ Libraries