This is the mail archive of the
mailing list for the GCC project.
Re: [C++-11] User defined literals
On 10/11/2011 12:57 PM, Jason Merrill wrote:
On 10/11/2011 12:55 PM, Jason Merrill wrote:
On 10/09/2011 07:19 PM, Ed Smith-Rowland wrote:
Does cp_parser_identifier (parser) *not* consume the identifier token?
I'm pretty sure it does.
cp_parser_operator(function_id) is simply run twice in
Does it work to only complain if !cp_parser_parsing_tentatively?
I suppose not, if you got no complaints with cp_parser_error.
Once inside cp_parser_template_id called at parser.c:4515.
Once directly inside cp_parser_unqualified_id at parser.c:4525.
cp_parser_template_id never succeeds with literal operator templates. I
find that curious. But I haven't looked real hard and the things do get