id summary reporter owner description type status milestone component version severity resolution keywords cc 63 regex/tokenizer can't be in same file kiliman John Maddock "{{{ I'm trying to use regex and tokenizer in the same file. I'm using MSVC 6.0SP5, boost lib 1.27. When I try to compile, I get the following error: d:\libs\boost\boost\token_functions.hpp(396) : error C2668: 'ispunct' : ambiguous call to overloaded function d:\libs\boost\boost\token_functions.hpp (389) : while compiling class-template member function 'bool __thiscall boost::char_delimiters_separator >::is_ret(char) const' Error executing cl.exe. Here is the code: #include #include #include #include using namespace std; using namespace boost; int main(int argc, char* argv[]) { regex re; string s = ""This is, a test""; tokenizer<> tok(s); for(tokenizer<>::iterator beg = tok.begin(); beg != tok.end(); ++beg) { cout << *beg << ""\n""; } return 0; } }}}" Bugs closed regex None Fixed