From: khizmax Date: Tue, 4 Nov 2014 06:35:41 +0000 (+0300) Subject: Replace boost.type_traits with std::type_traits X-Git-Tag: v2.0.0~137 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e38773e4dc6521ee5699a5bf65d86274e38b718b;p=libcds.git Replace boost.type_traits with std::type_traits --- diff --git a/cds/compiler/cxx11_atomic.h b/cds/compiler/cxx11_atomic.h index 120e9430..08cdd3a3 100644 --- a/cds/compiler/cxx11_atomic.h +++ b/cds/compiler/cxx11_atomic.h @@ -4,6 +4,7 @@ #define __CDS_COMPILER_CXX11_ATOMIC_H //@cond +#include // make_unsigned #include #include @@ -48,9 +49,6 @@ namespace cds { namespace cxx11_atomic { # error "Undefined compiler" #endif -// In C++11, make_unsigned is declared in -#include // for make_unsigned - namespace cds { namespace cxx11_atomic { // forward declarations @@ -160,7 +158,7 @@ namespace cds { namespace cxx11_atomic { struct atomic_integral_bitwise_ops { public: - typedef typename boost::make_unsigned::type unsigned_type; + typedef typename std::make_unsigned::type unsigned_type; typedef atomic_generic_ops atomic_ops; static T fetch_and(T volatile * pDest, T val, memory_order order) CDS_NOEXCEPT