X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=boost%2Fdetail%2Fallocator_utilities.hpp;h=ed3de8466dda6a6d9fcb42f11a5b1af7ce795c73;hb=08c1e93fa36a49f49325a07fe91ff92c964c2b6c;hp=5d6ef48b05b149bded13d98e70a4757e3a2e3ad7;hpb=bb4dd8289b351fae6b55e303f189127a394a1edd;p=platform%2Fupstream%2Fboost.git diff --git a/boost/detail/allocator_utilities.hpp b/boost/detail/allocator_utilities.hpp index 5d6ef48..ed3de84 100644 --- a/boost/detail/allocator_utilities.hpp +++ b/boost/detail/allocator_utilities.hpp @@ -1,4 +1,4 @@ -/* Copyright 2003-2009 Joaquin M Lopez Munoz. +/* Copyright 2003-2013 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) @@ -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