On 11/06/2012 05:20 PM, 3dw...@verizon.net wrote:
So how about
-f[no-]ext-numeric-literals
Sure.
I think the ideal behavior for these suffixes would be to treat them as
user-defined literals if a corresponding literal operator is available,
or use the built-in extension if not. But that doesn't need to happen now.
I thought about that. We'd need some machinery that would allow cpp to query
what has been declared already.
Or alternately, always treat them as user-defined in C++ mode and have
the front end decide to use the built-in interpretation if no literal
operator is declared.
Jason