Added compiler-specific CDS_DEPRECATED macro
[libcds.git] / cds / compiler / vc / defs.h
index 908aa008b0c4dd467b698b85ac5d782a6df7853b..9fe924f0c20e3da479ce844d915716765965cfc8 100644 (file)
 #define CDS_DATA_ALIGNMENT(n)     __declspec( align(n) )
 #define CDS_CLASS_ALIGNMENT(n)    __declspec( align(n) )
 
+// Attributes
+#define CDS_DEPRECATED( reason ) __declspec(deprecated( reason ))
+
 #include <cds/compiler/vc/compiler_barriers.h>
 
 //@endcond