This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++11] Reclaiming fixed-point suffixes for user-defined literals.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]