22 #include <boost/tokenizer.hpp>
29 boost::char_separator<char> sep (
" ");
30 typedef boost::tokenizer<boost::char_separator<char> > tokenizer;
31 tokenizer t (needle, sep);
33 for (tokenizer::iterator ti = t.begin (); ti != t.end (); ++ti) {
34 if (haystack.find (*ti) == std::string::npos) {
static bool match_search_strings(std::string const &haystack, std::string const &needle)