Steven Schveighoffer wrote:
On Tue, 20 Oct 2009 13:13:07 -0400, Michel Fortin <michel.for...@michelf.com> wrote:Note that there already is a gcc extension for this kind of function in C/C++: __attribute__((const))So what we need is semi-pure functions that can see all the globals as const data, or in other terms having no side effect but which can be affected by their environment. Another function qualifier, isn't it great! :-)Yeah, I meant which functions to allow among the functions types we already have. To introduce another function type *just to allow contracts to call them* is insanity.
Jerome -- mailto:jeber...@free.fr http://jeberger.free.fr Jabber: jeber...@jabber.fr
signature.asc
Description: OpenPGP digital signature