Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85101 - trunk/boost/circular_buffer
From: antoshkka_at_[hidden]
Date: 2013-07-22 07:44:11


Author: apolukhin
Date: 2013-07-22 07:44:10 EDT (Mon, 22 Jul 2013)
New Revision: 85101
URL: http://svn.boost.org/trac/boost/changeset/85101

Log:
Fixed MSVC related bug for rvalues move support of circular_buffer (refs #7888)

Text files modified:
   trunk/boost/circular_buffer/base.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/circular_buffer/base.hpp
==============================================================================
--- trunk/boost/circular_buffer/base.hpp Mon Jul 22 03:04:09 2013 (r85100)
+++ trunk/boost/circular_buffer/base.hpp 2013-07-22 07:44:10 EDT (Mon, 22 Jul 2013) (r85101)
@@ -190,7 +190,7 @@
     template <class ValT>
     static inline typename boost::conditional<
         (boost::is_nothrow_move_constructible<ValT>::value || !boost::is_copy_constructible<ValT>::value)
-#ifdef BOOST_NO_CXX11_DELETED_FUNCTIONS
+#if defined(BOOST_NO_CXX11_DELETED_FUNCTIONS) && defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
             && has_move_emulation_enabled<ValT>::value
 #endif
         ,


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