const member function

Foo via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 21 07:38:47 PST 2015


On Saturday, 21 February 2015 at 15:26:28 UTC, ketmar wrote:
> On Sat, 21 Feb 2015 08:27:13 +0000, rumbu wrote:
>
>> My question was not how I do this, I know already. My question 
>> was if
>> there is another way to safely call a non-const instance 
>> function on a
>> const object.
>
> is there a way to been safely hit by a truck?

In a tank. ;)


More information about the Digitalmars-d-learn mailing list