|
Boost : |
From: John Harris (TT) (john.harris_at_[hidden])
Date: 2002-09-13 14:45:09
This small program produces the errors below (fixed in 1.28???). I had to
fully qualify the calls to ispunct in token_functions.hpp to make the
problem disappear.
#include "boost/regex.hpp"
#include "boost/tokenizer.hpp"
int main(int, char**) {
boost::char_separator<char> c(".");
std::string s;
boost::tokenizer<boost::char_separator<char> > tok(s,c);
tok.begin();
tok.end();
return 1;
}
d:\boost/token_functions.hpp(344) : error C2668: 'ispunct' : ambiguous call
to overloaded function
d:\boost\1_27_0\dev\boost/token_functions.hpp(339) : while compiling
class-template member function 'bool __thiscall
boost::char_separator<char,struct std::char_traits<char> >::is_kept(char)
const'
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk