[v3] c++0x <system_error> CD updates
Paolo Carlini
paolo.carlini@oracle.com
Wed Oct 15 15:38:00 GMT 2008
Chris Fairles wrote:
> I have a feeling I'm missing something obvious here...
>
I think this is one of those static initialization order issues, often
very annoying.
In fact, these:
static const error_category& system_category = get_system_category();
...
didn't really convince me, when I looked at the existing code: at
minimum, we are going to have one instance of system_category & co in
each translation unit. No good. Can't we export the statics from the
.so, as usual in such cases?
Paolo.
More information about the Libstdc++
mailing list