> The usage model we've always documented for these __has_* macros in
> Clang is:
> 
> #ifndef __has_cpp_attribute
> # define __has_cpp_attribute(x) 0
> #endif
> 
> #if __has_cpp_attribute(deprecated)
> #  define ATTR_DEPRECATED(msg) [[deprecated(msg)]]
> #else
> 
> #  define ATTR_DEPRECATED(msg)
> 
> #endif

Does anyone have a better bid than this one?

Clark
_______________________________________________
Features mailing list
Features@isocpp.open-std.org
http://www.open-std.org/mailman/listinfo/features

Reply via email to