www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/22/03:14:01

Date: Mon, 22 May 2000 09:34:56 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: C++, complex, etc
In-Reply-To: <0rneisomj48fm3khdpdodsilqpndjqd7do@4ax.com>
Message-ID: <Pine.SUN.3.91.1000522093304.22890H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 22 May 2000, Damian Yerrick wrote:

> ptrdiff_t?  Never heard of that one.

It's ANSI C; see stddef.h.

> I always thought the difference between two pointers was a size_t
> (the size of the object between the pointers).

A difference between pointers cannot be expressed with a size_t
because that difference can be negative.

- Raw text -


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