Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52549 - sandbox/memory/boost/memory
From: xushiweizh_at_[hidden]
Date: 2009-04-22 13:56:20


Author: xushiwei
Date: 2009-04-22 13:56:19 EDT (Wed, 22 Apr 2009)
New Revision: 52549
URL: http://svn.boost.org/trac/boost/changeset/52549

Log:
rename boost::memory::policy::pool => boost::memory::policy::scoped
Text files modified:
   sandbox/memory/boost/memory/block_pool.hpp | 2 +-
   sandbox/memory/boost/memory/pool.hpp | 2 +-
   sandbox/memory/boost/memory/scoped_alloc.hpp | 2 +-
   3 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/memory/boost/memory/block_pool.hpp
==============================================================================
--- sandbox/memory/boost/memory/block_pool.hpp (original)
+++ sandbox/memory/boost/memory/block_pool.hpp 2009-04-22 13:56:19 EDT (Wed, 22 Apr 2009)
@@ -187,7 +187,7 @@
 
 NS_BOOST_MEMORY_POLICY_BEGIN
 
-class pool : public sys
+class scoped : public sys
 {
 public:
         typedef proxy_block_pool alloc_type;

Modified: sandbox/memory/boost/memory/pool.hpp
==============================================================================
--- sandbox/memory/boost/memory/pool.hpp (original)
+++ sandbox/memory/boost/memory/pool.hpp 2009-04-22 13:56:19 EDT (Wed, 22 Apr 2009)
@@ -26,7 +26,7 @@
 // class pool, scoped_pool
 
 typedef fixed_alloc<NS_BOOST_MEMORY_POLICY::stdlib> pool;
-typedef fixed_alloc<NS_BOOST_MEMORY_POLICY::pool> scoped_pool;
+typedef fixed_alloc<NS_BOOST_MEMORY_POLICY::scoped> scoped_pool;
 
 // -------------------------------------------------------------------------
 // $Log: $

Modified: sandbox/memory/boost/memory/scoped_alloc.hpp
==============================================================================
--- sandbox/memory/boost/memory/scoped_alloc.hpp (original)
+++ sandbox/memory/boost/memory/scoped_alloc.hpp 2009-04-22 13:56:19 EDT (Wed, 22 Apr 2009)
@@ -25,7 +25,7 @@
 // -------------------------------------------------------------------------
 // class scoped_alloc
 
-typedef region_alloc<NS_BOOST_MEMORY_POLICY::pool> scoped_alloc;
+typedef region_alloc<NS_BOOST_MEMORY_POLICY::scoped> scoped_alloc;
 
 // -------------------------------------------------------------------------
 // $Log: scoped_alloc.hpp,v $


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