[SVN r85180]
This commit is contained in:
Ion Gaztañaga
2013-08-01 14:17:39 +00:00
parent ebab4240b2
commit fe513fd14c
2 changed files with 11 additions and 3 deletions

View File

@@ -792,7 +792,8 @@ Many thanks to all boosters that have tested, reviewed and improved the library.
[section:release_notes_boost_1_55_00 Boost 1.55 Release] [section:release_notes_boost_1_55_00 Boost 1.55 Release]
* Fixed bug [@https://svn.boost.org/trac/boost/ticket/7952 #7952]). * Fixed bugs [@https://svn.boost.org/trac/boost/ticket/7952 #7952],
[@https://svn.boost.org/trac/boost/ticket/8842 #8842].
[endsect] [endsect]
@@ -800,8 +801,8 @@ Many thanks to all boosters that have tested, reviewed and improved the library.
[section:release_notes_boost_1_54_00 Boost 1.54 Release] [section:release_notes_boost_1_54_00 Boost 1.54 Release]
* Fixed bugs [@https://svn.boost.org/trac/boost/ticket/7969 #7969]), * Fixed bugs [@https://svn.boost.org/trac/boost/ticket/7969 #7969],
[@https://svn.boost.org/trac/boost/ticket/8231 #8231]). [@https://svn.boost.org/trac/boost/ticket/8231 #8231].
[endsect] [endsect]

View File

@@ -18,17 +18,24 @@
#include <boost/move/detail/config_begin.hpp> #include <boost/move/detail/config_begin.hpp>
//boost_move_no_copy_constructor_or_assign typedef
//used to detect noncopyable types for other Boost libraries.
#ifdef BOOST_NO_CXX11_DELETED_FUNCTIONS #ifdef BOOST_NO_CXX11_DELETED_FUNCTIONS
#define BOOST_MOVE_IMPL_NO_COPY_CTOR_OR_ASSIGN(TYPE) \ #define BOOST_MOVE_IMPL_NO_COPY_CTOR_OR_ASSIGN(TYPE) \
private:\ private:\
TYPE(TYPE &);\ TYPE(TYPE &);\
TYPE& operator=(TYPE &);\ TYPE& operator=(TYPE &);\
public:\
typedef int boost_move_no_copy_constructor_or_assign; \
private:\
// //
#else #else
#define BOOST_MOVE_IMPL_NO_COPY_CTOR_OR_ASSIGN(TYPE) \ #define BOOST_MOVE_IMPL_NO_COPY_CTOR_OR_ASSIGN(TYPE) \
public:\ public:\
TYPE(TYPE const &) = delete;\ TYPE(TYPE const &) = delete;\
TYPE& operator=(TYPE const &) = delete;\ TYPE& operator=(TYPE const &) = delete;\
public:\
typedef int boost_move_no_copy_constructor_or_assign; \
private:\ private:\
// //
#endif //BOOST_NO_CXX11_DELETED_FUNCTIONS #endif //BOOST_NO_CXX11_DELETED_FUNCTIONS