It seems like you're declaring your tokenizer type incorrectly.
typedef boost::tokenizer< boost::escaped_list_separator<char> > Tokenizer;
boost::escaped_list_separator<char> Separator( '\\', ' ', '\"' );
Tokenizer tok( s, Separator );
for( Tokenizer::iterator iter = tok.begin(); iter != tok.end(); ++iter )
{ cout << *iter << "\n"; }
You want to make a boost::tokenizer< boost::escaped_list_separator< char > >
typed object with a boost::escaped_list_separator< char >
separator object as its TokenizerFunc.
pk
2009-02-12 15:33:27