|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52200 - trunk/libs/ptr_container/doc
From: nesotto_at_[hidden]
Date: 2009-04-05 16:29:00
Author: nesotto
Date: 2009-04-05 16:28:59 EDT (Sun, 05 Apr 2009)
New Revision: 52200
URL: http://svn.boost.org/trac/boost/changeset/52200
Log:
fixed doc problem
Text files modified:
trunk/libs/ptr_container/doc/examples.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/ptr_container/doc/examples.rst
==============================================================================
--- trunk/libs/ptr_container/doc/examples.rst (original)
+++ trunk/libs/ptr_container/doc/examples.rst 2009-04-05 16:28:59 EDT (Sun, 05 Apr 2009)
@@ -110,9 +110,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
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