On Mon, Mar 19, 2012 at 16:05, Michael Stahl <mst...@redhat.com> wrote: > hmm... what i'd really like from a string class is that it has no > operator[] at all (who needs that anyway), just an iterator interface > that returns characters as uint32_t, and another interface to write the > string UTF-8 encoded into some buffer, thus allowing for picking > whatever internal implementation is most suitable.
Which is pretty much the java CharSequence interface :-) ,..which is the interface that the Sun engineers retrofitted into the JDK when it became apparent that that was the optimal design in a Unicode world. Although we really also need AsciiString classes with index operators for efficient dealing with network and file-level protocols. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice