Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58284 - sandbox/memory/libs/memory/examples/stl_containers
From: xushiweizh_at_[hidden]
Date: 2009-12-10 21:36:50


Author: xushiwei
Date: 2009-12-10 21:36:50 EST (Thu, 10 Dec 2009)
New Revision: 58284
URL: http://svn.boost.org/trac/boost/changeset/58284

Log:
t
Text files modified:
   sandbox/memory/libs/memory/examples/stl_containers/stl_containers.cpp | 13 -------------
   1 files changed, 0 insertions(+), 13 deletions(-)

Modified: sandbox/memory/libs/memory/examples/stl_containers/stl_containers.cpp
==============================================================================
--- sandbox/memory/libs/memory/examples/stl_containers/stl_containers.cpp (original)
+++ sandbox/memory/libs/memory/examples/stl_containers/stl_containers.cpp 2009-12-10 21:36:50 EST (Thu, 10 Dec 2009)
@@ -64,24 +64,11 @@
                 s.insert(std::pair<int, int>(i, i));
 }
 
-void testPoolsAllocSet()
-{
- typedef NS_BOOST_MEMORY::stl_allocator<int, NS_BOOST_MEMORY::scoped_pools> allocator;
-
- printf("\n===== Set (pools_alloc) =====\n");
- NS_BOOST_MEMORY::block_pool recycle;
- NS_BOOST_MEMORY::scoped_pools alloc(recycle);
- std::set<int, std::less<int>, allocator> s(std::less<int>(), alloc);
- for (int i = 0; i < Count; ++i)
- s.insert(i);
-}
-
 int main()
 {
         testDeque();
         testList();
         testSet();
- testPoolsAllocSet();
         testMap();
 
         return 0;


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