V3 PATCH: numeric_limits<> support, fix PR/3865

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Aug 30 03:48:00 GMT 2002


Richard Henderson <rth@redhat.com> writes:

| On Thu, Aug 29, 2002 at 09:33:48PM +0200, Gabriel Dos Reis wrote:
| > | >      L'\0' - 1
| > | > 
| > | > be evaluated after "the usual arithmetic conversions are performed".
| > | 
| > | Hmm, you're right.  I guess that no test of this kind works properly
| > | in all cases, right?
| > 
| > Yes.
| 
|   if (wchar_t(-1) < 0)

I'm afraid this doesn't solve the problem:  We want something at the
preprocessor level.

-- Gaby



More information about the Libstdc++ mailing list