$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r62692 - trunk/libs/algorithm/string/doc
From: steven_at_[hidden]
Date: 2010-06-09 16:42:47
Author: steven_watanabe
Date: 2010-06-09 16:42:46 EDT (Wed, 09 Jun 2010)
New Revision: 62692
URL: http://svn.boost.org/trac/boost/changeset/62692
Log:
Trim the correct string. Fixes #3860
Text files modified:
trunk/libs/algorithm/string/doc/usage.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/algorithm/string/doc/usage.xml
==============================================================================
--- trunk/libs/algorithm/string/doc/usage.xml (original)
+++ trunk/libs/algorithm/string/doc/usage.xml 2010-06-09 16:42:46 EDT (Wed, 09 Jun 2010)
@@ -169,7 +169,7 @@
<programlisting>
string str1=" hello world! ";
string str2=trim_left_copy(str1); // str2 == "hello world! "
- string str3=trim_right_copy(str2); // str3 == " hello world!"
+ string str3=trim_right_copy(str1); // str3 == " hello world!"
trim(str1); // str1 == "hello world!"
string phone="00423333444";