[SG16-Unicode] SG16 approval for LEWG to review std::filesystem::path_view

Lyberta lyberta at lyberta.net
Mon Jul 8 00:55:00 CEST 2019


Niall Douglas:
> So we really don't expect null termination. We do expect that path views
> will be subsets of larger path strings, and that THOSE will be null
> terminated.

I'm working on a proposal that will add string literals of strong types
and those won't be NUL-terminated. I think std::basic_string and
std::basic_string_view are a very bad choice for Unicode and modern C++.
If this passes, there won't be any NUL-terminated strings in user code
anymore and reading the code unit after the end of the string will be UB.



-------------- 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/20190707/2940a4f8/attachment.bin 


More information about the Unicode mailing list