chris jefferson wrote:
Sorry for a possibly stupid question. but this seems to me to be the
main problem. Will the problems go away if we just have two
definitions of basic_string, like we have two definitions of other
containers for when we want debug mode?
I think it's well known that basic_string *cannot* be treated like the
other containers: Doug pointed to an old message about that:
http://gcc.gnu.org/ml/libstdc++/2003-07/msg00372.html
But, of course, if you can imagine a way to overcome those difficulties...