User Details
User Details
- User Since
- Mar 26 2023, 12:19 PM (9 w, 5 d)
Mar 27 2023
Mar 27 2023
annara added a comment to D146924: [clang] Add support for dollar sign in ud_suffix of numeric constants.
Thanks for all the input!
annara added a comment to D146924: [clang] Add support for dollar sign in ud_suffix of numeric constants.
After a second look at the standard, you are right.
It's not in the range of any of the universal-character-names.
That being said, it is allowed as an identifier by default in clang (as @tahonermann) mentioned.
It also works in current versions of clang if you use the UCN in the numeric constant (and leave the user-defined literal operator declaration with a $ sign).
As you stated, GCC also accepts this syntax.
Mar 26 2023
Mar 26 2023
annara updated the summary of D146924: [clang] Add support for dollar sign in ud_suffix of numeric constants.
annara requested review of D146924: [clang] Add support for dollar sign in ud_suffix of numeric constants.