Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72147 - sandbox/block_ptr/libs/smart_ptr/doc
From: phil_at_[hidden]
Date: 2011-05-24 20:26:41


Author: pbouchard
Date: 2011-05-24 20:26:40 EDT (Tue, 24 May 2011)
New Revision: 72147
URL: http://svn.boost.org/trac/boost/changeset/72147

Log:
* Raw pointer doc
Text files modified:
   sandbox/block_ptr/libs/smart_ptr/doc/tutorial.html | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

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-05-24 20:26:40 EDT (Tue, 24 May 2011)
@@ -127,10 +127,10 @@
   </tr>
   </table>
 
- <p>Thirdly creating pointee objects in a faster way is possible by calling <i>operator new</i> directly:</p>
+ <p>Thirdly creating pointee objects in a faster way is possible by calling <i>operator new</i> directly with an object of type <i>block</i>:</p>
   
   <pre>
- block_ptr&#60;int&#62; p = new int(10);
+ block_ptr&#60;int&#62; p = new block&#60;int&#62;(10);
   </pre>
 
   <table>


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