Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53997 - sandbox/monotonic/boost/monotonic
From: christian.schladetsch_at_[hidden]
Date: 2009-06-17 00:38:10


Author: cschladetsch
Date: 2009-06-17 00:38:08 EDT (Wed, 17 Jun 2009)
New Revision: 53997
URL: http://svn.boost.org/trac/boost/changeset/53997

Log:
changed comment

Text files modified:
   sandbox/monotonic/boost/monotonic/config.h | 5 -----
   sandbox/monotonic/boost/monotonic/fixed_storage.h | 3 +--
   sandbox/monotonic/boost/monotonic/forward_declarations.h | 10 +++++++---
   3 files changed, 8 insertions(+), 10 deletions(-)

Modified: sandbox/monotonic/boost/monotonic/config.h
==============================================================================
--- sandbox/monotonic/boost/monotonic/config.h (original)
+++ sandbox/monotonic/boost/monotonic/config.h 2009-06-17 00:38:08 EDT (Wed, 17 Jun 2009)
@@ -6,11 +6,6 @@
 #ifndef BOOST_MONOTONIC_CONFIG_H
 #define BOOST_MONOTONIC_CONFIG_H
 
-#include <utility>
-#include <limits>
-#include <vector>
-#include <boost/foreach.hpp>
-
 namespace boost
 {
         namespace monotonic

Modified: sandbox/monotonic/boost/monotonic/fixed_storage.h
==============================================================================
--- sandbox/monotonic/boost/monotonic/fixed_storage.h (original)
+++ sandbox/monotonic/boost/monotonic/fixed_storage.h 2009-06-17 00:38:08 EDT (Wed, 17 Jun 2009)
@@ -23,7 +23,7 @@
 
                 private:
                         Buffer buffer; ///< the storage
- size_t cursor; ///< pointer to current index within storage for next allocation
+ size_t cursor; ///< pointer to current index within storage for next allocation
 #ifndef NDEBUG
                         size_t num_allocations;
 #endif
@@ -73,7 +73,6 @@
                         /// allocate storage, given alignment requirement
                         void *allocate(size_t num_bytes, size_t alignment)
                         {
- // ensure we return a point on an aligned boundary
                                 size_t extra = cursor & (alignment - 1);
                                 if (extra > 0)
                                         extra = alignment - extra;

Modified: sandbox/monotonic/boost/monotonic/forward_declarations.h
==============================================================================
--- sandbox/monotonic/boost/monotonic/forward_declarations.h (original)
+++ sandbox/monotonic/boost/monotonic/forward_declarations.h 2009-06-17 00:38:08 EDT (Wed, 17 Jun 2009)
@@ -6,6 +6,10 @@
 #ifndef BOOST_MONOTONIC_FORWARD_DECLARATIONS_H
 #define BOOST_MONOTONIC_FORWARD_DECLARATIONS_H
 
+#include <utility>
+#include <limits>
+#include <vector>
+#include <boost/foreach.hpp>
 #include <boost/monotonic/config.h>
 
 namespace boost
@@ -16,12 +20,12 @@
                 template <size_t InlineSize = DefaultSizes::InlineSize>
                 struct fixed_storage;
 
- /// storage that spans the stack/heap boundary.
+ /// storage that can span the stack/heap boundary.
                 ///
- /// allocation requests first use inline fixed_storage of N bytes.
+ /// allocation requests first use inline fixed_storage of InlineSize bytes.
                 /// once that is exhausted, later requests are serviced from the heap.
                 ///
- /// all allocations remain valid at all times.
+ /// all allocations remain valid until the storage goes out of scope.
                 template <
                         size_t InlineSize = DefaultSizes::InlineSize
                         , size_t MinHeapIncrement = DefaultSizes::MinHeapIncrement


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