V3 PATCH: numeric_limits<> support, fix PR/3865
Richard Henderson
rth@redhat.com
Sun Sep 1 14:22:00 GMT 2002
On Sun, Sep 01, 2002 at 12:36:24PM +0200, Gabriel Dos Reis wrote:
> That would be an easier path to take weren't there constraints on how
> the integral static data members of numeric_limits<wchar_t> have to be
> initialized.
Pardon?
struct S
{
static const int foo = wchar_t(-1) < 0 ? -1 : 1;
};
int foo() { return S::foo; }
Perhaps you meant some other constraint?
r~
More information about the Libstdc++
mailing list