Boost logo

Boost :

From: Rob Stewart (stewart_at_[hidden])
Date: 2004-10-22 11:46:00


From: Rogier van Dalen <rogiervd_at_[hidden]>
>
> unicode::string should take a unicode::character for appending. A
> unicode::character object may be constructed with a single codepoint,
> which will be its base character. If this codepoint is invalid, it
> should throw. If the codepoint is a combining mark, it should also
> throw.
> unicode::correct() should convert an invalid codepoint into U+FFFD,
> and if it is input a combining mark, it should use U+0020 SPACE as a
> base character.

Why not have unicode::character's ctor invoke unicode::correct()?

-- 
Rob Stewart                           stewart_at_[hidden]
Software Engineer                     http://www.sig.com
Susquehanna International Group, LLP  using std::disclaimer;

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