Boost logo

Boost :

From: Rogier van Dalen (rogiervd_at_[hidden])
Date: 2004-10-20 08:11:27


On Wed, 20 Oct 2004 10:44:04 +0400, Vladimir Prus <ghost_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk