Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85180 - in trunk: boost/move libs/move/doc
From: igaztanaga_at_[hidden]
Date: 2013-08-01 10:17:40


Author: igaztanaga
Date: 2013-08-01 10:17:39 EDT (Thu, 01 Aug 2013)
New Revision: 85180
URL: http://svn.boost.org/trac/boost/changeset/85180

Log:
Fixes #8842.

Text files modified:
   trunk/boost/move/core.hpp | 7 +++++++
   trunk/libs/move/doc/move.qbk | 7 ++++---
   2 files changed, 11 insertions(+), 3 deletions(-)

Modified: trunk/boost/move/core.hpp
==============================================================================
--- trunk/boost/move/core.hpp Wed Jul 31 23:46:04 2013 (r85179)
+++ trunk/boost/move/core.hpp 2013-08-01 10:17:39 EDT (Thu, 01 Aug 2013) (r85180)
@@ -18,17 +18,24 @@
 
 #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
    #define BOOST_MOVE_IMPL_NO_COPY_CTOR_OR_ASSIGN(TYPE) \
       private:\
       TYPE(TYPE &);\
       TYPE& operator=(TYPE &);\
+ public:\
+ typedef int boost_move_no_copy_constructor_or_assign; \
+ private:\
    //
 #else
    #define BOOST_MOVE_IMPL_NO_COPY_CTOR_OR_ASSIGN(TYPE) \
       public:\
       TYPE(TYPE const &) = delete;\
       TYPE& operator=(TYPE const &) = delete;\
+ public:\
+ typedef int boost_move_no_copy_constructor_or_assign; \
       private:\
    //
 #endif //BOOST_NO_CXX11_DELETED_FUNCTIONS

Modified: trunk/libs/move/doc/move.qbk
==============================================================================
--- trunk/libs/move/doc/move.qbk Wed Jul 31 23:46:04 2013 (r85179)
+++ trunk/libs/move/doc/move.qbk 2013-08-01 10:17:39 EDT (Thu, 01 Aug 2013) (r85180)
@@ -792,7 +792,8 @@
 
 [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]
 
@@ -800,8 +801,8 @@
 [section:release_notes_boost_1_54_00 Boost 1.54 Release]
 
 
-* Fixed bugs [@https://svn.boost.org/trac/boost/ticket/7969 #7969]),
- [@https://svn.boost.org/trac/boost/ticket/8231 #8231]).
+* Fixed bugs [@https://svn.boost.org/trac/boost/ticket/7969 #7969],
+ [@https://svn.boost.org/trac/boost/ticket/8231 #8231].
 
 [endsect]
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk