Why is it that no one writes with portability in mind in druntime?

Jonathan M Davis jmdavisProg at gmx.com
Sun Nov 24 17:48:15 PST 2013


On Monday, November 25, 2013 00:34:31 ponce wrote:
> On Sunday, 24 November 2013 at 22:38:15 UTC, Jonathan M Davis
> 
> wrote:
> > No. We have several types which vary in size. In addition to
> > real, there's
> > also size_t (which should be being used in almost all D
> > programs, whereas real
> > there's also ptrdiff_t, which is effectively an unsigned size_t.
> 
> Just to correct things, size_t is unsigned, ptrdiff_t is the
> signed one.

Correct. I mistyped. Sorry about that.

- Jonathan M Davis


More information about the Digitalmars-d mailing list