$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r53110 - sandbox/memory/boost/memory
From: xushiweizh_at_[hidden]
Date: 2009-05-19 11:24:21
Author: xushiwei
Date: 2009-05-19 11:24:18 EDT (Tue, 19 May 2009)
New Revision: 53110
URL: http://svn.boost.org/trac/boost/changeset/53110
Log:
fixed_alloc::element_size
Text files modified: 
   sandbox/memory/boost/memory/fixed_alloc.hpp |     5 +++++                                   
   1 files changed, 5 insertions(+), 0 deletions(-)
Modified: sandbox/memory/boost/memory/fixed_alloc.hpp
==============================================================================
--- sandbox/memory/boost/memory/fixed_alloc.hpp	(original)
+++ sandbox/memory/boost/memory/fixed_alloc.hpp	2009-05-19 11:24:18 EDT (Tue, 19 May 2009)
@@ -114,6 +114,11 @@
                 clear();
         }
 
+	size_type BOOST_MEMORY_CALL element_size() const
+	{
+		return m_cbChunk - ChunkHeaderSize;
+	}
+
         alloc_type BOOST_MEMORY_CALL get_alloc() const
         {
                 return m_alloc;