[SG10] Should the argument to __has_cpp_attribute be expanded by the preprocessor?

Nelson, Clark clark.nelson at intel.com
Mon Mar 23 21:08:39 CET 2015


> 	I think it would be unfortunate if the feature test macros
> has subtle portability issues of their own.
> 
> 
> I agree.
> 
> Since we seem to collectively have no strong opinions: I think I
> very slightly prefer "expand" over "do not expand" on the basis
> that __has_cpp_attribute(X) and [[X]] should be interpreted the
> same way.

I would prefer "expand" somewhat more than very slightly. :-)

Clark


More information about the Features mailing list