[cfe-dev] @# microsoft extension ?

Sebastian Redl sebastian.redl at getdesigned.at
Fri Jul 20 03:16:42 PDT 2012


On 20.07.2012 06:34, Shang Yu wrote:
> I don't know yet. But there does exists a diagnostic named
> ext_charize_microsoft which says @# is a microsoft extension
#@ is a microsoft extension: it's the charize operator:
#define FOO(a) #@a
FOO(x) -> 'x'

There doesn't appear to be a @# extension that is used as an alternate 
directive start. It appears to me like this is an escaping mechanism 
used by TypeTraits' code generation mechanism. You should ask on the 
Boost list.

Sebastian




More information about the cfe-dev mailing list