Stepping back and looking at constness from another angle.
eao197
eao197 at intervale.ru
Thu Jun 7 10:33:52 PDT 2007
On Thu, 07 Jun 2007 15:49:54 +0400, Ary Manzana <ary at esperanto.org.ar>
wrote:
> Which makes me think... Will const, final, invariant be used in method
> declarations to say "Calling this method this class won't be modified"?
> (the const after the function declaration, right?) I've been sort of
> following the threads and I haven't seen anything mentioning this.
I don't see discussion about that in this thread (but I may miss
something). But a few month ago in one of the first discussion about
const/final/invariant (somewhere near
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=50233)
Andrei Alexandresky said that it is planned too
(http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=50256)
--
Regards,
Yauheni Akhotnikau
More information about the Digitalmars-d
mailing list