On Jan 17, 2007, at 6:46 PM, Gabriel Dos Reis wrote:
(1) the ABI I was talking about is that of libstdc++
(2) numeric_limits<> cannot change from translation unit to
translation
unit, within the same program otherwise you break the ODR. I
guess
we all agree on that.
Doh! Did I ever say that I hate abi issues, this truly is plainly
obvious... and yet I still missed it. Thanks.
Anyway, that would just mean that any abi document that attempts a C+
+ ABI must specify these answers. The issue is that if one
implemented a new C++ compiler, attempting to match the ABI of the
previous one, I think it'd be bad form to cheat off the actual
implementation for the answer, rather the document should specify the
answer.
The issue reminds me of Sun's attempt to do a C+ abi that didn't talk
about templates or EH, nice, but not as useful as one that does.