Move libcds 1.6.0 from SVN
[libcds.git] / cds / details / cxx11_features.h
1 //$$CDS-header$$
2
3 #ifndef __CDS_DETAILS_CXX11_FEATURES_H
4 #define __CDS_DETAILS_CXX11_FEATURES_H
5 //@cond
6
7 #ifndef __CDS_DEFS_H
8 #   error "<cds/details/cxx11_features.h> cannot be included directly, use <cds/details/defs.h> instead"
9 #endif
10
11 // =delete function specifier
12 #ifdef CDS_CXX11_DELETE_DEFINITION_SUPPORT
13 #   define CDS_DELETE_SPECIFIER     =delete
14 #else
15 #   define CDS_DELETE_SPECIFIER
16 #endif
17
18 // =default function specifier
19 #ifdef CDS_CXX11_EXPLICITLY_DEFAULTED_FUNCTION_SUPPORT
20 #   define CDS_DEFAULT_SPECIFIER    =default
21 #else
22 #   define CDS_DEFAULT_SPECIFIER
23 #endif
24
25 //@endcond
26 #endif // #ifndef __CDS_DETAILS_CXX11_FEATURES_H