problem with size_t and an easy solution

Gary Willoughby via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 8 09:33:48 PST 2014


On Monday, 8 December 2014 at 01:30:35 UTC, ketmar via 
Digitalmars-d wrote:
> Hello.
>
> i don't like `size_t`. for many month i avoied using it 
> wherever that
> was possible, 'cause i feel something wrong with it.

size_t is not too bad, it's not as alien as you may think as 
there is also std.stdint.

http://dlang.org/phobos/std_stdint.html

Personally i don't have any issue with the naming as long as i 
know what each type represents.


More information about the Digitalmars-d mailing list