|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54131 - in sandbox/monotonic: boost/monotonic libs/monotonic/test
From: christian.schladetsch_at_[hidden]
Date: 2009-06-21 03:43:15
Author: cschladetsch
Date: 2009-06-21 03:43:15 EDT (Sun, 21 Jun 2009)
New Revision: 54131
URL: http://svn.boost.org/trac/boost/changeset/54131
Log:
removed static pools
Text files modified:
sandbox/monotonic/boost/monotonic/allocator_base.hpp | 6 ++++--
sandbox/monotonic/boost/monotonic/fixed_storage.hpp | 2 +-
sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp | 1 -
3 files changed, 5 insertions(+), 4 deletions(-)
Modified: sandbox/monotonic/boost/monotonic/allocator_base.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/allocator_base.hpp (original)
+++ sandbox/monotonic/boost/monotonic/allocator_base.hpp 2009-06-21 03:43:15 EDT (Sun, 21 Jun 2009)
@@ -111,11 +111,11 @@
BOOST_STATIC_CONSTANT(size_t, NodeSize1 = (Size + MinSize)/MinSize);
BOOST_STATIC_CONSTANT(size_t, NodeSize = NodeSize1*MinSize);
- typedef storage_pool<T, NodeSize> Pool;
+ //typedef storage_pool<T, NodeSize> Pool;
//private:
storage_base *storage;
- static Pool pool;
+ //static Pool pool;
public:
allocator_base(storage_base &store) throw()
@@ -214,8 +214,10 @@
}
};
+/*
template <class T, class Derived>
typename allocator_base<T, Derived>::Pool allocator_base<T, Derived>::pool;
+*/
} // namespace monotonic
Modified: sandbox/monotonic/boost/monotonic/fixed_storage.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/fixed_storage.hpp (original)
+++ sandbox/monotonic/boost/monotonic/fixed_storage.hpp 2009-06-21 03:43:15 EDT (Sun, 21 Jun 2009)
@@ -11,7 +11,7 @@
#include <boost/monotonic/forward_declarations.hpp>
#include <boost/monotonic/exceptions.hpp>
#include <boost/monotonic/storage_base.hpp>
-#include <boost/monotonic/storage_pool.hpp>
+//#include <boost/monotonic/storage_pool.hpp>
//#define BOOST_MONOTONIC_STORAGE_EARLY_OUT
Modified: sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp (original)
+++ sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp 2009-06-21 03:43:15 EDT (Sun, 21 Jun 2009)
@@ -492,7 +492,6 @@
{
namespace monotonic
{
- Pools pools;
static_storage_base<> default_static_storage;
storage_base *static_storage = &default_static_storage;
}
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