From 61125a83392f194183486b593f5d540a38c8c708 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Sat, 23 Jun 2001 08:27:53 +0000 Subject: [PATCH] using "rebind" with MSVC doesn't work [SVN r10407] --- include/boost/config.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/config.hpp b/include/boost/config.hpp index 7e684e53..abd5c2d8 100644 --- a/include/boost/config.hpp +++ b/include/boost/config.hpp @@ -501,6 +501,9 @@ # include // not sure this is the right way to do this -JGS # if __SGI_STL_PORT >= 0x400 || __SGI_STL_PORT >= 0x321 && defined(__STL_USE_NAMESPACES) // a perfectly good implementation of std::iterator is supplied + // A conforming allocator is supplied, but the compiler cannot cope + // when using "rebind". +# define BOOST_NO_STD_ALLOCATOR # elif defined(__SGI_STL_ITERATOR) # define BOOST_NO_STD_ITERATOR // No std::iterator in this case # elif defined(_CPPLIB_VER) && (_CPPLIB_VER >= 306)