Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74315 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2011-09-08 17:09:56


Author: danieljames
Date: 2011-09-08 17:09:56 EDT (Thu, 08 Sep 2011)
New Revision: 74315
URL: http://svn.boost.org/trac/boost/changeset/74315

Log:
Unordered: Try to fix vacpp's issue with `select_on_container_copy_construction`
Text files modified:
   trunk/boost/unordered/detail/allocator_helpers.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 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-09-08 17:09:56 EDT (Thu, 08 Sep 2011)
@@ -253,7 +253,10 @@
         BOOST_UNORDERED_CHECK_MEMBER(1, 1,
             select_on_container_copy_construction,
             T (T::*)() const);
- BOOST_UNORDERED_DEFAULT_MEMBER(2, 2);
+ BOOST_UNORDERED_CHECK_MEMBER(2, 2,
+ select_on_container_copy_construction,
+ T (T::*)());
+ BOOST_UNORDERED_DEFAULT_MEMBER(3, 2);
  
         enum { value = sizeof(test<T>(choose())) == sizeof(choice1::type) };
     };


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