]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/tokenizer/test/simple_example_1.cpp
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
10 // simple_example_1.cpp
12 #include<boost/tokenizer.hpp>
17 using namespace boost
;
18 string s
= "This is, a test";
20 for(tokenizer
<>::iterator beg
=tok
.begin(); beg
!=tok
.end();++beg
){