std::string exorcism hiccup
Benjamin Kosnik
bkoz@redhat.com
Fri Jun 14 11:57:00 GMT 2002
> I come across a major stumbling block.
>
> The standard exceptions use std::string internally to store their
> descriptions.
>
> e.g. a quick persusal of std::logic_error shows that it internally
> stores its description string in a (std::)string.
>
> (However ios_base::failure stores its description in a char[256])
>
> The locale_facet stuff is also (not surprisingly) riddled with
> references to std::string.
I don't know what to say, except that this does seem like a serious
problem. Hopefully somebody clever can come up with a solution.
Would it be possible for you to submit an example C++ program or simple
test case that clearly demonstates the issue to this list? That might be
a good place to start.
thanks,
benjamin
More information about the Libstdc++
mailing list