delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/18/09:06:14

From: buers AT gmx DOT de (Dieter Buerssner)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: C++, complex, etc
Date: 18 May 2000 11:54:27 GMT
Lines: 9
Message-ID: <8g0s1u.3vs6833.0@buerssner-17104.user.cis.dfn.de>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000518113013 DOT 12245H-100000 AT is>
NNTP-Posting-Host: pec-117-140.tnt8.s2.uunet.de (149.225.117.140)
Mime-Version: 1.0
X-Trace: fu-berlin.de 958650867 488915 149.225.117.140 (16 [17104])
X-Posting-Agent: Hamster/1.3.13.0
User-Agent: Xnews/03.02.04
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:

>You said "if both size_t and int equal the same machine word".
>Hans-Bernhard is telling you that that's a big ``if'', and a portable
>program cannot rely on that fact, or even verify it reliably.

Of course, int can never be the same type as size_t, because
size_t must be an unsigned integral type. For the verifying:
You certainly know about limits.h, which should be reliable.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019