Remove CDS_CXX11_EXPLICIT_CONVERSION_OPERATOR_SUPPORT macro and emulating code
authorkhizmax <khizmax@gmail.com>
Tue, 23 Sep 2014 13:25:06 +0000 (17:25 +0400)
committerkhizmax <khizmax@gmail.com>
Tue, 23 Sep 2014 13:25:06 +0000 (17:25 +0400)
cds/compiler/clang/defs.h
cds/compiler/defs.h
cds/compiler/gcc/defs.h
cds/compiler/icl/defs.h
cds/compiler/vc/defs.h

index 9ca62d89dcfe92f63a11ab1449e3ecffbeec00a8..5438396c798cca0888a257055d5f2302d7ca996f 100644 (file)
@@ -37,9 +37,6 @@
 // C++11 explicitly-defaulted function (= default) [std 8.4.2 [dcl.fct.def.default]]
 #define CDS_CXX11_EXPLICITLY_DEFAULTED_FUNCTION_SUPPORT
 
-// Explicit conversion operators
-#define CDS_CXX11_EXPLICIT_CONVERSION_OPERATOR_SUPPORT
-
 // C++11 inline namespace
 #define CDS_CXX11_INLINE_NAMESPACE_SUPPORT
 
index a373fbcc8e496402143465407ca144119dd2d928..315ff626626440c4e100681bae0567ae5b672d47 100644 (file)
@@ -6,6 +6,7 @@
 /*
     Required C++11 features:
     - template alias [CDS_CXX11_TEMPLATE_ALIAS_SUPPORT]
+    - explicit conversion operator [CDS_CXX11_EXPLICIT_CONVERSION_OPERATOR_SUPPORT]
 */
 
 #if CDS_COMPILER == CDS_COMPILER_MSVC
index 2bfacc0653dd334ee65a5f81ebdff5cb24fecfb9..2e6dc49aad9709881cfb1ea397f4e58b93a18e21 100644 (file)
@@ -46,9 +46,6 @@
 // Lambda
 #define CDS_CXX11_LAMBDA_SUPPORT
 
-// Explicit conversion operator
-#define CDS_CXX11_EXPLICIT_CONVERSION_OPERATOR_SUPPORT
-
 // constexpr
 #define CDS_CONSTEXPR    constexpr
 
index 1037ba0717cf371b1726abdf54ecc92cbf48e701..b32550a87abe7cb46dd9eeae88b964a135bb7992 100644 (file)
 // C++11 inline namespace
 #define CDS_CXX11_INLINE_NAMESPACE_SUPPORT
 
-// Explicit conversion operator
-//#if CDS_COMPILER_VERSION >= 1800
-//#   define CDS_CXX11_EXPLICIT_CONVERSION_OPERATOR_SUPPORT
-//#endif
-
 // *************************************************
 // Alignment macro
 
index 59a33d034426bb256168846e0a2e0e276ab28e9e..080827e1f32a28128ef663ceb8bdede9b713849e 100644 (file)
 // C++11 inline namespace
 //#define CDS_CXX11_INLINE_NAMESPACE_SUPPORT
 
-// Explicit conversion operator (VC12+)
-#define CDS_CXX11_EXPLICIT_CONVERSION_OPERATOR_SUPPORT
-
 #if CDS_COMPILER_VERSION == CDS_COMPILER_MSVC12
     // VC12: move ctor cannot be defaulted
     // Error: C2610 [move ctor] is not a special member function which can be defaulted