|
Boost Users : |
From: gast128 (gast128_at_[hidden])
Date: 2007-04-03 04:42:07
Dear all,
Ok as described in the documentation one can always fallback to the basic
format functions. For example removing unreadable characters could be solved
then:
std::string str = _T("abcdefgbc");
str[1] = 12;
str[4] = 12;
boost::find_format_all(str, boost::token_finder(!boost::is_print()),
boost::empty_formatter(""));
Still an 'erase_if' would be far more readable:
boost::erase_if(str, !boost::is_print());
wkr,
me
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net