• 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: A strange behavior of unionSet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A strange behavior of unionSet?


  • Subject: Re: A strange behavior of unionSet?
  • From: Thomas Lachand-Robert <email@hidden>
  • Date: Sun, 25 Jan 2004 15:22:23 +0100

Le 25 janv. 04, ` 14:23, Pete Yandell a icrit :

The definition of unionSet from the docs:

- (void)unionSet:(NSSet *)otherSet

So you're assigning the result of a void method to s. You want it
without the assignment:

[s unionSet:set2];



Thanks a lot, I didn't notice. How come the compiler doesn't complain? Assign a void expression to some pointer should not be acceptable, or what?


Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >A strange behavior of unionSet? (From: Thomas Lachand-Robert <email@hidden>)
 >Re: A strange behavior of unionSet? (From: Pete Yandell <email@hidden>)

  • Prev by Date: Re: Cocoa from the command line?
  • Next by Date: Re: Odd DO Problem...
  • Previous by thread: Re: A strange behavior of unionSet?
  • Next by thread: Example Project Cocoa-MySQL
  • Index(es):
    • Date
    • Thread