• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Weird branch test evaluation when using vector size()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Weird branch test evaluation when using vector size() (From: Daniel Stenning <email@hidden>)

  • Prev by Date: Re: Weird branch test evaluation when using vector size()
  • Next by Date: Inheriting 'Preprocessor Macros' from Project settings
  • Previous by thread: Re: Weird branch test evaluation when using vector size()
  • Next by thread: Re: Weird branch test evaluation when using vector size()
  • Index(es):
    • Date
    • Thread