Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61931 - trunk/libs/algorithm/string/doc
From: steven_at_[hidden]
Date: 2010-05-12 08:56:17


Author: steven_watanabe
Date: 2010-05-12 08:56:16 EDT (Wed, 12 May 2010)
New Revision: 61931
URL: http://svn.boost.org/trac/boost/changeset/61931

Log:
Fix example. Fixes #4206
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-05-12 08:56:16 EDT (Wed, 12 May 2010)
@@ -339,7 +339,7 @@
     typedef vector< string > split_vector_type;
     
     split_vector_type SplitVec; // #2: Search for tokens
- split( SplitVec, str1, is_any_of("-*") ); // SplitVec == { "hello abc","ABC","aBc goodbye" }
+ split( SplitVec, str1, is_any_of("-*"), token_compress_on ); // SplitVec == { "hello abc","ABC","aBc goodbye" }
         </programlisting>
         <para>
             <code>[hello]</code> designates an <code>iterator_range</code> delimiting this substring.


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