$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Christian Henning (chhenning_at_[hidden])
Date: 2008-03-14 16:12:05
Hi there, I would like to use the tokenizer to iterate through a
string of words and reverse them. Something like this:
string str( " Hello World" );
tokenizer<> tok(str);
for(tokenizer<>::iterator beg=tok.begin(); beg!=tok.end();++beg)
{
reverse( (*beg).begin(), (*beg).end() );
}
Why can't I get a mutable string iterator?
Thanks,
Christian