Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71178 - sandbox/shifted_ptr/libs/smart_ptr/doc
From: phil_at_[hidden]
Date: 2011-04-10 19:00:27


Author: pbouchard
Date: 2011-04-10 19:00:26 EDT (Sun, 10 Apr 2011)
New Revision: 71178
URL: http://svn.boost.org/trac/boost/changeset/71178

Log:
* Vocabulary check
Text files modified:
   sandbox/shifted_ptr/libs/smart_ptr/doc/overview.html | 2 +-
   sandbox/shifted_ptr/libs/smart_ptr/doc/rationale.html | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/shifted_ptr/libs/smart_ptr/doc/overview.html
==============================================================================
--- sandbox/shifted_ptr/libs/smart_ptr/doc/overview.html (original)
+++ sandbox/shifted_ptr/libs/smart_ptr/doc/overview.html 2011-04-10 19:00:26 EDT (Sun, 10 Apr 2011)
@@ -81,7 +81,7 @@
 
   <p>Reference counting is a different approach where objects pointed to are aware of the number of times they are referenced. This means a counter within the object
   is incremented or decremented according to the number of smart pointers that are referencing or dereferencing it. There is a lost in performance as compared to
- garbage collection because of the extra time required to manage the counter every time the pointer is reaffected or dereferenced. Reference counting can also leave
+ garbage collection because of the extra time required to manage the counter every time the pointer is reassigned or dereferenced. Reference counting can also leave
   a group of blocks of memory referencing each other called "cyclic" (see presentation) unnoticed and therefore never freed by the
   application. On the other hand the destruction of the object is done instantaneously and thus the behavior or the application can be predicted.</p>
 

Modified: sandbox/shifted_ptr/libs/smart_ptr/doc/rationale.html
==============================================================================
--- sandbox/shifted_ptr/libs/smart_ptr/doc/rationale.html (original)
+++ sandbox/shifted_ptr/libs/smart_ptr/doc/rationale.html 2011-04-10 19:00:26 EDT (Sun, 10 Apr 2011)
@@ -109,7 +109,7 @@
 
   <p>The name <i>shifted_ptr&#60;T&#62;</i> first comes from one of its caracteristic where the reference counter is allocated at the same time the pointee object is. Only the
   pointer to the object is known by <i>shifted_ptr&#60;T&#62;</i> and in order to access the reference counter, the pointer to the top of the object is "shifted" up. The name of
- the class <i>shifted&#60;T&#62;</i> used to instanciate all pointee objects is simply taken from the name <i>shifted_ptr&#60;T&#62;</i> it will be affected to.
+ the class <i>shifted&#60;T&#62;</i> used to instanciate all pointee objects is simply taken from the name <i>shifted_ptr&#60;T&#62;</i> it will be assigned to.
   </p>
   
   <hr>


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