[SG16-Unicode] String views with strong code unit types
Lyberta
lyberta at lyberta.net
Tue Jun 4 09:38:00 CEST 2019
I'm trying to replicate a "sv" UDL with strong code unit types.
constexpr auto operator "" _cus(const char8_t* literal, std::size_t size)
As view types require some outside storage, I'm will need to create an
array of code units in static memory. I'm not sure how to do that. Also,
the compiler says that "size" is not a constant expression. Any ideas?
-------------- 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/20190604/2d82ade9/attachment.bin
More information about the Unicode
mailing list