|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71167 - sandbox/shifted_ptr/libs/smart_ptr/doc
From: phil_at_[hidden]
Date: 2011-04-10 16:11:08
Author: pbouchard
Date: 2011-04-10 16:11:07 EDT (Sun, 10 Apr 2011)
New Revision: 71167
URL: http://svn.boost.org/trac/boost/changeset/71167
Log:
* Added set diagram
Added:
sandbox/shifted_ptr/libs/smart_ptr/doc/introduction.png (contents, props changed)
Text files modified:
sandbox/shifted_ptr/libs/smart_ptr/doc/rationale.html | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Added: sandbox/shifted_ptr/libs/smart_ptr/doc/introduction.png
==============================================================================
Binary file. No diff available.
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 16:11:07 EDT (Sun, 10 Apr 2011)
@@ -74,8 +74,12 @@
<p>Shifted Pointer introduces the concept of <i>set</i> where it is defined to be a one or many memory blocks referencing each other allocated on the heap pointed
to by one or many <i>shifted_ptr<T></i>s allocated on the stack or the data segment (non heap) of the application. Each <i>set</i> is consequently composed of a
list of all memory blocks constituting it and a counter tracking the number of times the <i>set</i> is referenced by a <i>shifted_ptr<T></i> from the stack or the data
- segment.</p>
+ segment. For example:</p>
+ <center>
+ <img src="introduction.png"/>
+ </center>
+
<h2><a name="cyclicism" id="cyclicism"></a>Cyclicism</h2>
<p>Therefore whenever a <i>set</i> counter finds out the number of <i>shifted_ptr<T></i> referencing it to be zero, the deallocation of each memory block composing
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