[C++-11] User defined literals

Jason Merrill jason@redhat.com
Mon Sep 19 22:43:00 GMT 2011


On 09/19/2011 04:22 AM, Ed Smith-Rowland wrote:
> +check_literal_operator_args( const_tree decl,

Space before the (, not after.

> Done.  I am now storing the numeric string along with the number and the suffix ID for numeric operators.  I'm keeping the numeric value because we need it too.

Can't you store the string and the suffix, and then interpret the number 
later if you end up calling an operator that takes the value?

Jason



More information about the Gcc-patches mailing list