I am totally lost with libstdc++
H.J. Lu
hjl@lucon.org
Fri Oct 10 10:51:00 GMT 1997
While looking at libstdc++, I am totally lost. I don't know how anyone
can get basic_string to work on any platforms.
string::string (const char *) checks range and throws an exception,
out_of_range (const string &), if necsssary, via OUTOFRANGE, which
is defined as
#define OUTOFRANGE(cond) \
do { if (!(cond)) throw out_of_range (#cond); } while (0)
As you can see, it calls string::string (const char *). Now we
get an endless recursive call. I have no idea how it will work
on any platforms. I will see what I can do.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
More information about the Gcc
mailing list