Re: Using C23 digit separators not locale digit grouping characters

Alejandro Colomar
2023-02-09T12:47:29Z

[-- Attachment #1.1: Type: text/plain, Size: 1262 bytes --]

Hi Brian,

On 2/8/23 23:10, Brian Inglis wrote:
> See discussion 10 years ago in WG21 C++:
>
> https://open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3499.html
>
> where ambiguity with C++ user-defined literal unit operators and "_" was an
> issue, and Objective C/C++ parsing problems with using whitespace.

Interesting. Let it be a ' then.

>
> So in 2020 WG14 C, opting for compatibility with WG21 C++; quoting:
>
> Prior Art: C++, Intel ICC, EDG, Microsoft Visual Studio
> in
> https://www.open-std.org/JTC1/SC22/WG14/www/docs/n2606.pdf
> https://www.open-std.org/JTC1/sc22/wg14/www/docs/n2626.pdf
>
> FYI see comment in:
>
> https://thephd.dev/c-the-improvements-june-september-virtual-c-meeting
>
> "Guess who uses apostrophes for digit separators! The SWISS! And who is in
> Switzerland? ISO! I see WG14 is no less corrupt than WG21.
> — Miro Knejp" ;^>

I remember having read that :D

>
> We are going to be seeing these used a lot in future from GCC , and as man-pages
> are immersed in a sea of C, we might as well start getting used to it, which is
> why I made that suggestion.

Agree.

--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5