Re: [sv-ec] Constant class methods

From: Steven Sharp <sharp_at_.....>
Date: Tue Apr 01 2008 - 17:38:30 PDT
>From: "danielm" <danielm@aldec.com.pl>

>IMHO SV should itroduce constant modifier to class methods (functions, and
>task). This feature is widely used in other languages - ie in C++.
>Such modifier should forbid to modify class properties referenced. 
>It would be very usefull to know that certain function do not modifies the
>object on which it is called.

Is this equivalent to treating the implicit 'this' argument as const?

Steven Sharp
sharp@cadence.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Apr 1 17:42:22 2008

This archive was generated by hypermail 2.1.8 : Tue Apr 01 2008 - 17:42:49 PDT