Boost logo

Boost :

From: Rene Jager (renej_at_[hidden])
Date: 2001-05-25 05:10:34

i'm using a recent snapshot of gcc/g++ v3 prerelease
i found that in Boost.Regex that on many places it is assumed that
std::string::iterator == char*
however, in the libstdc++-v3 accompanying g++-v3 this is not the case
(it is a std::iterator<char *, std::string> i believe)
i started patching the regex sources, but got stuck when in
a number of (const charT*)(...) casts and alike were used
i came a long way by replacing
const char* -> std::string::const_iterator
const charT* -> std::basic_string<charT>::const_iterator
but the low-level casts... is it possible that john maddock helps out


Boost list run by bdawes at, gregod at, cpdaniel at, john at