|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68111 - sandbox/guild/pool/libs/pool/doc
From: dnljms_at_[hidden]
Date: 2011-01-13 13:07:29
Author: danieljames
Date: 2011-01-13 13:07:20 EST (Thu, 13 Jan 2011)
New Revision: 68111
URL: http://svn.boost.org/trac/boost/changeset/68111
Log:
Fix some markup.
Text files modified:
sandbox/guild/pool/libs/pool/doc/pool.qbk | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
Modified: sandbox/guild/pool/libs/pool/doc/pool.qbk
==============================================================================
--- sandbox/guild/pool/libs/pool/doc/pool.qbk (original)
+++ sandbox/guild/pool/libs/pool/doc/pool.qbk 2011-01-13 13:07:20 EST (Thu, 13 Jan 2011)
@@ -384,14 +384,14 @@
Each Pool has a single free list that can extend over a number of memory blocks.
Thus, Pool also has a linked list of allocated memory blocks.
-Each memory block, by default, is allocated using new[],
+Each memory block, by default, is allocated using new\[\],
and all memory blocks are freed on destruction.
-It is the use of new[] that allows us to guarantee alignment.
+It is the use of new\[\] that allows us to guarantee alignment.
[h4 Proof of Concept: Guaranteeing Alignment]
Each block of memory is allocated as a POD type
-(specifically, an array of characters) through operator new[].
+(specifically, an array of characters) through operator new\[\].
Let POD_size be the number of characters allocated.
[h6 Predicate 1: Arrays may not have padding]
@@ -405,7 +405,7 @@
Therefore, arrays cannot contain padding,
though the elements within the arrays may contain padding.
-[h6 Predicate 2: Any block of memory allocated as an array of characters through operator new[]
+[h6 Predicate 2: Any block of memory allocated as an array of characters through operator new\[\]
(hereafter referred to as the block) is properly aligned for any object of that size or smaller]
This follows from:
@@ -861,7 +861,8 @@
[ [SizeType] [std::size_t] [An unsigned integral type] ]
]
-[table:Typedefs Typedefs [ [Symbol] [Type] ]
+[table:Typedefs Typedefs
+[ [Symbol] [Type] ]
[ [size_type] [SizeType] ]
]
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