Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73799 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2011-08-15 16:24:13


Author: danieljames
Date: 2011-08-15 16:24:12 EDT (Mon, 15 Aug 2011)
New Revision: 73799
URL: http://svn.boost.org/trac/boost/changeset/73799

Log:
Unordered: Enable the better select_on_container_copy_construction detection for recent Visual C++.
Text files modified:
   trunk/boost/unordered/detail/allocator_helpers.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/unordered/detail/allocator_helpers.hpp
==============================================================================
--- trunk/boost/unordered/detail/allocator_helpers.hpp (original)
+++ trunk/boost/unordered/detail/allocator_helpers.hpp 2011-08-15 16:24:12 EDT (Mon, 15 Aug 2011)
@@ -126,8 +126,7 @@
     BOOST_DEFAULT_TYPE_TMPLT(propagate_on_container_move_assignment);
     BOOST_DEFAULT_TYPE_TMPLT(propagate_on_container_swap);
 
-// Disabling for Visual C++ for now as it hasn't been tested yet.
-#if !defined(BOOST_NO_SFINAE_EXPR) // || BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
+#if !defined(BOOST_NO_SFINAE_EXPR) || BOOST_WORKAROUND(BOOST_MSVC, >= 1500)
     // Specialization is only needed for Visual C++. Without it SFINAE doesn't
     // kick in.
     template <unsigned int>


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