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++14] Admit C++ keywords as literal suffixes.


On 18 June 2013 08:35, Andreas Schwab wrote:
> According to 2.14.8#10 this is ill-formed.

It's ill-formed for users to define it, but not ill-formed according
to the language grammar, and the compiler would need to implement that
grammar if operator""if gets added to the standard library (which
could happen if an NB insists on the complex literals being in C++14,
which can be done without the horrifically ugly i_f suffix now thanks
to DR 1473.)


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