|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52198 - branches/release/libs/ptr_container/doc
From: nesotto_at_[hidden]
Date: 2009-04-05 16:10:44
Author: nesotto
Date: 2009-04-05 16:10:44 EDT (Sun, 05 Apr 2009)
New Revision: 52198
URL: http://svn.boost.org/trac/boost/changeset/52198
Log:
merge from trunk -- doc only
Text files modified:
branches/release/libs/ptr_container/doc/examples.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: branches/release/libs/ptr_container/doc/examples.html
==============================================================================
--- branches/release/libs/ptr_container/doc/examples.html (original)
+++ branches/release/libs/ptr_container/doc/examples.html 2009-04-05 16:10:44 EDT (Sun, 05 Apr 2009)
@@ -378,9 +378,9 @@
// ... fill the container somehow
-auto_type ptr = deq.release_back(); // remove back element from container and give up ownership
+auto_type ptr = deq.pop_back(); // remove back element from container and give up ownership
auto_type ptr2 = deq.release( deq.begin() + 2 ); // use an iterator to determine the element to release
-ptr = deq.release_front(); // supported for 'ptr_list' and 'ptr_deque'
+ptr = deq.pop_front(); // supported for 'ptr_list' and 'ptr_deque'
deq.push_back( ptr.release() ); // give ownership back to the container
</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