From 047a42934da1fd6fa719527dcb65ce38e9366a01 Mon Sep 17 00:00:00 2001 From: Pavol Droba Date: Tue, 3 Aug 2004 17:09:28 +0000 Subject: [PATCH] Incorrect examples fixed [SVN r24270] --- string/doc/usage.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/string/doc/usage.xml b/string/doc/usage.xml index 47e164e..3317997 100644 --- a/string/doc/usage.xml +++ b/string/doc/usage.xml @@ -15,7 +15,7 @@ Using the algorithms is straightforward. Let us have a look at the first example: - #include <boost/string_algo.hpp> + #include <boost/algorithm/string.hpp> using namespace std; using namespace boost; @@ -331,7 +331,7 @@ typedef vector< string > split_vector_type; split_vector_type SplitVec; // #2: Search for tokens - split( SplitVec, str1, is_any_of<char>("-*") ); // SplitVec == { "hello abc","ABC","aBc goodbye" } + split( SplitVec, str1, is_any_of("-*") ); // SplitVec == { "hello abc","ABC","aBc goodbye" } [hello] designates an iterator_range delimiting this substring.