1 // (c) Copyright John R. Bandela 2001.
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 // See http://www.boost.org/libs/tokenizer for documenation
9 // simple_example_4.cpp
11 #include<boost/tokenizer.hpp>
16 using namespace boost
;
17 string s
= "This is, a test";
18 tokenizer
<char_delimiters_separator
<char> > tok(s
);
19 for(tokenizer
<char_delimiters_separator
<char> >::iterator beg
=tok
.begin(); beg
!=tok
.end();++beg
){