[SG16-Unicode] SG16 approval for LEWG to review std::filesystem::path_view
Tom Honermann
tom at honermann.net
Sat Jul 6 23:46:04 CEST 2019
On 7/4/19 12:23 PM, Lyberta wrote:
> I think NUL-terminated strings are a big mistake of C and newer Unicode
> library shouldn't use them.
Agreed.
> std::basic_string already breaks invariants
> by allowing embedded NULs.
>
> I know that it will take a while for operating systems to stop using NUL
> terminated strings but WebAssemply System Interface already fixed that
> by using pointer and size. I expect all future OSes not to use
> NUL-terminated strings.
I can't imagine any existing operating systems will discontinue support
for interfaces that require null terminated strings. It sure would be
nice if they all added new interfaces though!
Tom.
More information about the Unicode
mailing list