[SG16-Unicode] Hidden locale dependency in [time.duration.io]?
Tom Honermann
tom at honermann.net
Sun Nov 3 09:16:22 CET 2019
I just came across [time.duration.io]p4:
<http://eel.is/c++draft/time.duration.io#4>
> If Period::type is micro, but the character U+00B5 cannot be
represented in the encoding used for charT, the unit suffix "us" is used
instead of "μs". <http://eel.is/c++draft/time.duration.io#4.sentence-1>
How is the determination as to whether the character can be represented
to be done? It seems this would involve consulting the locale. Or is
this effectively implementation defined behavior?
Perhaps this is worth an LWG issue to at least clarify the behavior?
Tom.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open-std.org/pipermail/unicode/attachments/20191103/2669249c/attachment.html
More information about the Unicode
mailing list