$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r71757 - sandbox/block_ptr/boost/detail
From: phil_at_[hidden]
Date: 2011-05-06 02:50:57
Author: pbouchard
Date: 2011-05-06 02:50:57 EDT (Fri, 06 May 2011)
New Revision: 71757
URL: http://svn.boost.org/trac/boost/changeset/71757
Log:
* Code cleanup
Text files modified: 
   sandbox/block_ptr/boost/detail/block_base.hpp |    10 +++++++++-                              
   1 files changed, 9 insertions(+), 1 deletions(-)
Modified: sandbox/block_ptr/boost/detail/block_base.hpp
==============================================================================
--- sandbox/block_ptr/boost/detail/block_base.hpp	(original)
+++ sandbox/block_ptr/boost/detail/block_base.hpp	2011-05-06 02:50:57 EDT (Fri, 06 May 2011)
@@ -71,12 +71,20 @@
         static mutex pool_mutex_;
 #endif
 
+	typedef boost::singleton_pool<pool, sizeof(char)> pool_t;
+
         typedef std::list< numeric::interval<long>, fast_pool_allocator< numeric::interval<long> > > pool_lii;	/**< Syntax helper. */
 
     static pool_lii plii_;					/**< List of memory boundaries. */
 
-	typedef boost::singleton_pool<pool, sizeof(char)> pool_t;
 
+	/**
+		Tells whether a pointer is part of the pool or not.
+		
+		@param	p	Pointer to object.
+		@return		Belongs to the pool.
+	*/
+	
         static bool is_from(void * p)
         {
                 return pool_t::is_from(p);