Boost logo

Boost :

From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1510041&group_id=7586

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> >
 Tokenizer;
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>

instead:
<Log> <logging>

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1510041&group_id=7586

_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk