|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71557 - sandbox/block_ptr/libs/smart_ptr/doc
From: phil_at_[hidden]
Date: 2011-04-27 23:02:39
Author: pbouchard
Date: 2011-04-27 23:02:38 EDT (Wed, 27 Apr 2011)
New Revision: 71557
URL: http://svn.boost.org/trac/boost/changeset/71557
Log:
* Typos
Text files modified:
sandbox/block_ptr/libs/smart_ptr/doc/overview.html | 2 +-
sandbox/block_ptr/libs/smart_ptr/doc/rationale.html | 4 ++--
sandbox/block_ptr/libs/smart_ptr/doc/tutorial.html | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
Modified: sandbox/block_ptr/libs/smart_ptr/doc/overview.html
==============================================================================
--- sandbox/block_ptr/libs/smart_ptr/doc/overview.html (original)
+++ sandbox/block_ptr/libs/smart_ptr/doc/overview.html 2011-04-27 23:02:38 EDT (Wed, 27 Apr 2011)
@@ -69,7 +69,7 @@
<h2><a name="introduction" id="introduction"></a>Introduction</h2>
- <p>Memory management can be subdivised in two categories: garbage collection and reference counting.</p>
+ <p>Memory management can be subdivided in two categories: garbage collection and reference counting.</p>
<h2><a name="gc" id="gc"></a>Garbage Collection</h2>
<p>Garbage collection is a technique where memory blocks are collected and later deallocated when they are found to be unreferenced by any other object. Garbage
Modified: sandbox/block_ptr/libs/smart_ptr/doc/rationale.html
==============================================================================
--- sandbox/block_ptr/libs/smart_ptr/doc/rationale.html (original)
+++ sandbox/block_ptr/libs/smart_ptr/doc/rationale.html 2011-04-27 23:02:38 EDT (Wed, 27 Apr 2011)
@@ -93,8 +93,8 @@
<h2><a name="initialization" id="initialization"></a>Initialization</h2>
- <p>A <i>block_ptr<T></i> is initialized differently depending on the memory segment it is being instanciated on. If it is found to be residing the stack or the data
- segment then a new <i>set</i> counter will also be instanciated. If it is found to be living on the heap then a more complicated mechanism is involved to track the
+ <p>A <i>block_ptr<T></i> is initialized differently depending on the memory segment it is being instantiated on. If it is found to be residing the stack or the data
+ segment then a new <i>set</i> counter will also be instantiated. If it is found to be living on the heap then a more complicated mechanism is involved to track the
last memory block that was allocated in the same thread, find its address and stack up the <i>set</i> it will be part of until the first <i>block_ptr<T></i> found on
the stack is or data segment is initialized, where the new <i>set</i> counter will be shared with all of the newly allocated blocks of memory referencing each other.</p>
Modified: sandbox/block_ptr/libs/smart_ptr/doc/tutorial.html
==============================================================================
--- sandbox/block_ptr/libs/smart_ptr/doc/tutorial.html (original)
+++ sandbox/block_ptr/libs/smart_ptr/doc/tutorial.html 2011-04-27 23:02:38 EDT (Wed, 27 Apr 2011)
@@ -68,16 +68,16 @@
<h2><a name="basic" id="basic"></a>Basic</h2>
<p>Block Pointer was designed to be easy to use and to be versatile in terms of object variants it can refer to. Its only requirement is limited to the usage
- of a special type needed to instanciate objects referred to. For example:</p>
+ of a special type needed to instantiate objects referred to. For example:</p>
<pre>
block_ptr<int> p = new block<int>(11);
</pre>
- <p>Will instanciate a special object <i>mm<int></i> having an integer as one of its member. The pointer to the object is then passed to the
+ <p>Will instantiate a special object <i>mm<int></i> having an integer as one of its member. The pointer to the object is then passed to the
<i>block_ptr<int></i> that will manage its existence and later destroy and deallocate it when it is found to be no longer referenced.<p>
- <p>Variants of the object type can also be used. In order to instanciate an array of integer for example, all that will be needed is to change the
+ <p>Variants of the object type can also be used. In order to instantiate an array of integer for example, all that will be needed is to change the
type to the following:<p>
<pre>
@@ -90,7 +90,7 @@
<p>When STL containers are made out of objects having members of type <i>block_ptr<T></i> then it will be desirable to have all of the allocated nodes
and its members part of the same <i>set</i>. This way all of the newly allocated <i>block_ptr<T></i> will be referring to the same <i>set</i> header.
- In order to do so, we must tell the container in question a new allocator that will be used to instanciate the nodes. This allocator is called:
+ In order to do so, we must tell the container in question a new allocator that will be used to instantiate the nodes. This allocator is called:
<i>block_allocator<T></i>. For example:</p>
<pre>
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