Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53882 - sandbox/monotonic/libs/monotonic/doc
From: christian.schladetsch_at_[hidden]
Date: 2009-06-13 21:53:40


Author: cschladetsch
Date: 2009-06-13 21:53:40 EDT (Sat, 13 Jun 2009)
New Revision: 53882
URL: http://svn.boost.org/trac/boost/changeset/53882

Log:
gah VS is a terrible HTML editor!

Text files modified:
   sandbox/monotonic/libs/monotonic/doc/index.html | 12 +++++++-----
   1 files changed, 7 insertions(+), 5 deletions(-)

Modified: sandbox/monotonic/libs/monotonic/doc/index.html
==============================================================================
--- sandbox/monotonic/libs/monotonic/doc/index.html (original)
+++ sandbox/monotonic/libs/monotonic/doc/index.html 2009-06-13 21:53:40 EDT (Sat, 13 Jun 2009)
@@ -158,7 +158,7 @@
                 is initialised with either an allocator or storage.<h3 id="Containers">
                 Storage</h3>
             <p>
- The storage is provided via boost::monotonic::storage&lt;size_t num_bytes&gt;.;.</p>
+ The storage is provided via boost::monotonic::storage&lt;size_t num_bytes&gt;</p>
             <p>
                 Put it on the stack to use storage on the stack, or put it on the heap to use
                 storage on the heap.</p>
@@ -168,12 +168,14 @@
                 boost::monotonic::allocator&lt;T&gt; provides a means for a set of containers to share
                 monotonic::storage.</p>
             <p>
- &nbsp;Allocations performed
+ Allocations performed
                 by this allocator are correctly aligned for each container independantly (thanks
                 Artyom, Thorsten!); de-allocations
                 requested by this allocator do nothing.</p>
             <p>
- Allocators are initialised with storage.</p>
+ Allocators are initialised with storage. There is no overhead added to any
+ memory allocation, other than the number of bytes required, plus whatever is
+ required by the platform for correct alignment.</p>
             <h3>
                 Containers
             </h3>
@@ -341,7 +343,7 @@
                 <h2>
                     Notes</h2>
                 <p>
- [1] It ca[1] It can be argued that the proposed allocator is not in fact &quot;STL-compliant&quot;,
+ [1] It can be argued that the proposed allocator is not in fact &quot;STL-compliant&quot;,
                     as it includes a pointer to storage used by the allocator. In truth, the
                     Standard doesn&#39;t state that allocators may not have any local data, only that
                     STL implementations are free to treat allocators of the same type as having the
@@ -350,7 +352,7 @@
                     to do things like speed up swap methods etc. These all work with monotonic
                     allocator as well.</p>
                 <h2>
- References <ul class="simple">
+ References</h2>
                     <li>Boost.AlignedMemory</li>
                     <li>Boost.AutoBuffer. A related service. Attempts to integrate this with STL has so
                         far been unsuccessful. See libs/monotonic/test/main.cpp#test_auto_buffer</li>


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