From 7c91cca54fc3d3cfd61756a608dae6f363437a08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sun, 3 Mar 2013 12:21:48 +0000 Subject: [PATCH] Fixes #8231 [SVN r83270] --- doc/move.qbk | 3 ++- include/boost/move/core.hpp | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/move.qbk b/doc/move.qbk index 834cafd..e1d61ae 100644 --- a/doc/move.qbk +++ b/doc/move.qbk @@ -789,7 +789,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] -* Fixed bug [@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]). [endsect] diff --git a/include/boost/move/core.hpp b/include/boost/move/core.hpp index 09cc628..d766963 100644 --- a/include/boost/move/core.hpp +++ b/include/boost/move/core.hpp @@ -239,6 +239,8 @@ // #endif //#if !defined(BOOST_MOVE_DOXYGEN_INVOKED) + namespace boost { + //!This trait yields to a compile-time true boolean if T was marked as //!BOOST_MOVABLE_BUT_NOT_COPYABLE or BOOST_COPYABLE_AND_MOVABLE and //!rvalue references are not available on the platform. False otherwise. @@ -248,6 +250,8 @@ static const bool value = false; }; + } //namespace boost{ + //!This macro is used to achieve portable syntax in move //!constructors and assignments for classes marked as //!BOOST_COPYABLE_AND_MOVABLE or BOOST_MOVABLE_BUT_NOT_COPYABLE