Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85955 - trunk/boost/detail
From: steveire_at_[hidden]
Date: 2013-09-26 09:04:51


Author: skelly
Date: 2013-09-26 09:04:51 EDT (Thu, 26 Sep 2013)
New Revision: 85955
URL: http://svn.boost.org/trac/boost/changeset/85955

Log:
allocator_utilities: Remove obsolete MSVC version check.

Text files modified:
   trunk/boost/detail/allocator_utilities.hpp | 25 -------------------------
   1 files changed, 0 insertions(+), 25 deletions(-)

Modified: trunk/boost/detail/allocator_utilities.hpp
==============================================================================
--- trunk/boost/detail/allocator_utilities.hpp Thu Sep 26 09:04:38 2013 (r85954)
+++ trunk/boost/detail/allocator_utilities.hpp 2013-09-26 09:04:51 EDT (Thu, 26 Sep 2013) (r85955)
@@ -11,7 +11,6 @@
 
 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
 #include <boost/detail/workaround.hpp>
-#include <boost/mpl/aux_/msvc_never_true.hpp>
 #include <boost/mpl/eval_if.hpp>
 #include <boost/type_traits/is_same.hpp>
 #include <cstddef>
@@ -116,29 +115,6 @@
 
 /* rebind operation in all other cases */
 
-#if BOOST_WORKAROUND(BOOST_MSVC,<1300)
-/* Workaround for a problem in MSVC with dependent template typedefs
- * when doing rebinding of allocators.
- * Modeled after <boost/mpl/aux_/msvc_dtw.hpp> (thanks, Aleksey!)
- */
-
-template<typename Allocator>
-struct rebinder
-{
- template<bool> struct fake_allocator:Allocator{};
- template<> struct fake_allocator<true>
- {
- template<typename Type> struct rebind{};
- };
-
- template<typename Type>
- struct result:
- fake_allocator<mpl::aux::msvc_never_true<Allocator>::value>::
- template rebind<Type>
- {
- };
-};
-#else
 template<typename Allocator>
 struct rebinder
 {
@@ -149,7 +125,6 @@
           rebind<Type>::other other;
   };
 };
-#endif
 
 template<typename Allocator,typename Type>
 struct compliant_allocator_rebind_to


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