|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71648 - sandbox/block_ptr/libs/smart_ptr/doc
From: phil_at_[hidden]
Date: 2011-05-01 13:10:20
Author: pbouchard
Date: 2011-05-01 13:10:19 EDT (Sun, 01 May 2011)
New Revision: 71648
URL: http://svn.boost.org/trac/boost/changeset/71648
Log:
* Corrected docs according to new syntax
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-01 13:10:19 EDT (Sun, 01 May 2011)
@@ -108,7 +108,7 @@
struct N { int i; };
struct O : N, M { int i; };
- block_ptr<O> po = make_block<O>;
+ block_ptr<O> po = make_block<O>();
block_ptr<N> pn = po; // incorrect
block_ptr<M> pm = po; // incorrect
</pre>
@@ -120,7 +120,7 @@
struct N { int i; virtual ~N() {} };
struct O : N, M { int i; };
- block_ptr<O> po = make_block<O>;
+ block_ptr<O> po = make_block<O>();
block_ptr<N> pn = po; // correct
block_ptr<M> pm = po; // correct
</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