[C++11] Reclaiming fixed-point suffixes for user-defined literals.
Marc Glisse
marc.glisse@inria.fr
Sun Nov 6 20:10:00 GMT 2011
On Sun, 6 Nov 2011, David Brown wrote:
> My original concern in this thread was that if the "r" and "k" _Fract
> suffixes were freed for general use in C++, it would be difficult to use
> them later.
The C++ standard already reserves all the suffixes that don't start with
an underscore for future normalization. I interpret that as: defining your
own suffix k should print a warning instead of an error.
I don't believe this is worth changing (if the error message is readable
enough) until there is a plan for actually using that suffix.
--
Marc Glisse
More information about the Gcc
mailing list