Re: Weird branch test evaluation when using vector size()
Re: Weird branch test evaluation when using vector size()
- Subject: Re: Weird branch test evaluation when using vector size()
- From: "Sean McBride" <email@hidden>
- Date: Thu, 19 Mar 2009 12:34:04 -0400
- Organization: Rogue Research Inc.
On 3/19/09 3:55 PM, Daniel Stenning said:
>Oops ! I think I got it - size_t isnt a signed type !!!
Also, size_t and int are not interchangeable for another reason (besides
signedness), they aren't the same size (necessarily)! On Mac OS X in 64
bit, int is 32 bit and size_t is 64 bit.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden