Boost logo

Boost :

From: Nicola Musatti (Nicola.Musatti_at_[hidden])
Date: 2006-04-29 13:35:01


Hallo,
if nobody has any objection I plan to commit the enclosed patch in a
couple of days.

Cheers,
Nicola Musatti


******Index: pool_alloc.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/pool/pool_alloc.hpp,v
retrieving revision 1.9
diff -d -u -r1.9 pool_alloc.hpp
--- pool_alloc.hpp 28 Sep 2004 12:55:45 -0000 1.9
+++ pool_alloc.hpp 29 Apr 2006 06:47:43 -0000
@@ -19,9 +19,11 @@
 // boost::singleton_pool
 #include <boost/pool/singleton_pool.hpp>
 
+#include <boost/detail/workaround.hpp>
+
 // The following code will be put into Boost.Config in a later revision
-#if defined(_RWSTD_VER) || defined(__SGI_STL_PORT)
- // Needed, as of bcc 5.5 and STLPort 4.5b8
+#if defined(_RWSTD_VER) || defined(__SGI_STL_PORT) || \
+ BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))
  #define BOOST_NO_PROPER_STL_DEALLOCATE
 #endif
 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk