
On Wed, 20 Oct 2004 10:44:04 +0400, Vladimir Prus <ghost@cs.msu.su> wrote:
Rogier van Dalen wrote:
So unicode::string<unicode::codepoint_string<std::string> > would be a UTF8-encoded string that is manipulated using its characters.
After reading your post, I don't understand what exactly the two levels of template parameters give you.
Even though I think that a Unicode library should by default work on base characters with their combining characters, sometimes you may need to manipulate codepoints directly.
And, even if they are needed, it's very important that unicode::string with different template parameters are always convertible between each other. Otherwise, two libraries with different types won't be able to interoperate.
Of course. This should be fairly trivial though. Regards, Rogier