On 02/05/2012 01:20 AM, Era Scarecrow wrote:

the signature I meant looks like

pure int squaredPlus(int)immutable;

Which then the only way you could call it, was if the object itself was
immutable, which is definitely safe (I think). Hmmm...

Alternatively you can use pure int squaredPlus(int)const;, of course.

Reply via email to