• 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
Side-affect free methods?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Side-affect free methods?


  • Subject: Side-affect free methods?
  • From: Stefan Pantos <email@hidden>
  • Date: Wed, 25 Feb 2004 12:06:33 +0000

Hi,
Is there anyway to define a methods as being side-affect free? So it doesn't effect the object it is executed on. Like making a method in c++ const.

And if there is, is there a way of checking at compile time that this method is side-affect free?

Thanks,
Stefan Pantos
_______________________________________________
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.


  • Follow-Ups:
    • Re: Side-affect free methods?
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: Re: Tuning KVO validation.
  • Next by Date: Re: red black trees
  • Previous by thread: Re: Tuning KVO validation.
  • Next by thread: Re: Side-affect free methods?
  • Index(es):
    • Date
    • Thread