const member function
rumbu via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Feb 23 01:12:33 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?
I thought if there is some language construct similar to @trusted
for @safe, applicable to const member functions. You can be
safely hit by a truck if I tell you that there is no truck around
:)
More information about the Digitalmars-d-learn
mailing list