[SG16-Unicode] Questions about some corner cases of proposed std::basic_text encoding implementation
Lyberta
lyberta at lyberta.net
Sat Nov 9 15:12:00 CET 2019
Steve Downey:
> I'd also like to see the unicode algorithms as _algorithms_ that can
> operate over something that can be treated as a scalar value.
My plan is to propose
std::unicode::scalar_value_sequence
std::unicode::grapheme_cluster_sequence
These are container adaptors that take code unit sequence (can be
std::vector, can be std::basic_string or can be
std::unicode::code_unit_sequence that I'm about to propose too).
Suddenly all standard algorithms are working with scalar values and
grapheme clusters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
Url : http://www.open-std.org/pipermail/unicode/attachments/20191109/9b2da885/attachment.bin
More information about the Unicode
mailing list