problem with size_t and an easy solution

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 8 03:49:38 PST 2014


On Mon, 08 Dec 2014 11:37:00 +0000
Dominikus Dittes Scherkl via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:

> On Monday, 8 December 2014 at 08:46:49 UTC, bearophile wrote:
> > Freddy:
> >
> >> Why not keep size_t implictly convertable but disallow it for
> >> usize.
> >
> > This is an interesting idea. (But the name "uword" seems 
> > better).
> YES.
> And I want a signed variant of this (instead of the ugly 
> ptrdiff_t):
> I want to wield my sword!
"uword" is meaningless, and "usize" is meaningfull. but i like
"sword"... yet i used to 16-bit words.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141208/39e8fc86/attachment-0001.sig>


More information about the Digitalmars-d mailing list