C++ Logo


Advanced search

Subject: Re: [SG16-Unicode] Questions about some corner cases of proposed std::basic_text encoding implementation
From: Tom Honermann (tom_at_[hidden])
Date: 2019-11-27 07:57:42

Replying so that this message is reflected in the SG16 list archives due
to an archive failure following the transition to the new SG16 mailing list.


On 11/22/19 8:09 PM, Lyberta via SG16 wrote:
> Ansel Sermersheim via SG16:
>> If I use std::text::u8text, which seems most natural and is likely to
>> work best with other libraries
> I guess in this case the encoding object should have the copy of UCD and
> use it during... hmm... I think you should write a conversion function.
> The old code should use some old type and new code should reject it so
> type system is not compromised.
> Then you slowly convert all old data to new data.

SG16 list run by herb.sutter at gmail.com