OK. And yes, we ought to fix that "cannot convert" error since often
that's not the problem.
Jason
On 11/10/2011 02:12 AM, Jason Merrill wrote:
On 11/09/2011 07:56 PM, Paolo Carlini wrote:
-
/*allow_non_integral_constant_expression_p=*/false,
+ /*allow_non_integral_constant_expression_p=*/true,
This should be (cxx_dialect >= cxx0x) rather than true.
On 11/09/2011 07:56 PM, Paolo Carlini wrote:
-
/*allow_non_integral_constant_expression_p=*/false,
+
/*allow_non_integral_constant_expression_p=*/true,
This should be (cxx_dialect >= cxx0x) rather than true.
Jason
On 11/10/2011 01:43 AM, Jason Merrill wrote:
On 11/09/2011 05:45 PM, Paolo Carlini wrote:
finish_id_expression is called from cp_parser_primary_expression with a
true allow_non_integral_constant_expression_p and the error doesn't
occur.
Yes, allow_non_integral_constant_expression_p should alwa
On 11/09/2011 05:45 PM, Paolo Carlini wrote:
finish_id_expression is called from cp_parser_primary_expression with a
true allow_non_integral_constant_expression_p and the error doesn't
occur.
Yes, allow_non_integral_constant_expression_p should always be true in
C++11.
Jason