[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [lmi-commits] odd/c0 fa245ac: Replace 'C0' with '0_cents'?
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] [lmi-commits] odd/c0 fa245ac: Replace 'C0' with '0_cents'? |
Date: |
Sun, 9 May 2021 18:13:46 +0200 |
On Sat, 8 May 2021 18:06:16 -0400 (EDT) Greg Chicares
<gchicares@sbcglobal.net> wrote:
GC> branch: odd/c0
GC> commit fa245ac27de715c88244ac488ce4c9f31bd51004
GC> Author: Gregory W. Chicares <gchicares@sbcglobal.net>
GC> Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
GC>
GC> Replace 'C0' with '0_cents'?
GC>
GC> '0_cents' is more unmistakably clear.
Yes, and I like it a lot more than 'C0' which is anything but.
GC> However, 'C0' is guaranteed to be a compile-time constant, and it's
GC> two characters rather than seven.
I guess the only solution satisfying both of us would be to write 0_ยข, but
this still isn't supported by gcc without a separate preprocessing stage:
https://gcc.gnu.org/wiki/FAQ#What_is_the_status_of_adding_the_UTF-8_support_for_identifier_names_in_GCC.3F
So (un?)fortunately we still can't quite write APL in C++ yet,
VZ
pgpxRNgmBtxCO.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [lmi] [lmi-commits] odd/c0 fa245ac: Replace 'C0' with '0_cents'?,
Vadim Zeitlin <=