From d5699c31c90d91487cbc83e81105c50d1eac569c Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 26 Sep 2013 13:04:51 +0000 Subject: [PATCH] allocator_utilities: Remove obsolete MSVC version check. [SVN r85955] --- include/boost/detail/allocator_utilities.hpp | 25 -------------------- 1 file changed, 25 deletions(-) diff --git a/include/boost/detail/allocator_utilities.hpp b/include/boost/detail/allocator_utilities.hpp index 5d6ef48..a81f386 100644 --- a/include/boost/detail/allocator_utilities.hpp +++ b/include/boost/detail/allocator_utilities.hpp @@ -11,7 +11,6 @@ #include /* keep it first to prevent nasty warns in MSVC */ #include -#include #include #include #include @@ -116,29 +115,6 @@ struct partial_std_allocator_rebind_to /* 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 (thanks, Aleksey!) - */ - -template -struct rebinder -{ - template struct fake_allocator:Allocator{}; - template<> struct fake_allocator - { - template struct rebind{}; - }; - - template - struct result: - fake_allocator::value>:: - template rebind - { - }; -}; -#else template struct rebinder { @@ -149,7 +125,6 @@ struct rebinder rebind::other other; }; }; -#endif template struct compliant_allocator_rebind_to