Side-affect free methods?
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.