Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-06-21 11:15:54

Bugs item #1510041, was opened at 2006-06-21 17:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: araine (araine)
Assigned to: Nobody/Anonymous (nobody)
Summary: bug in char_separator

Initial Comment:
tokens produced by boost::tokenizer have character
replaced by space, the following code:

typedef boost::tokenizer< boost::char_separator<char> >
boost::char_separator<char> sep("/");
Tokenizer tok(std::string("Log/logging"), sep);
for (Tokenizer::iterator t = tok.begin();
    t != tok.end(); ++t)
    std::cout << "<" << *t << "> ";
std::cout << std::endl;

produces this output:
<Log> <log ing>

<Log> <logging>


You can respond by visiting:

Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at