|
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
re_detail/regex_compile.hpp
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
etc,
but the low-level casts... is it possible that john maddock helps out
here?
renej
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk