readonly storage class

Timon Gehr timon.gehr at gmx.ch
Sun Apr 8 10:10:14 PDT 2012


On 04/08/2012 06:09 PM, Benjamin Thaut wrote:
> Am 08.04.2012 11:49, schrieb Simen Kjaeraas:
>> On Sun, 08 Apr 2012 11:39:03 +0200, Benjamin Thaut
>> <code at benjamin-thaut.de> wrote:
>>> I'll come up with a example.
>>> But if what you say is true, why is immutable not implicitly
>>> convertible to const?
>>
>> It is.
>
> Thanks, then this is a misunderstanding on my side, and this topic is
> irrelevant. But what about calling const methods on immutable objects?
>

That works.


More information about the Digitalmars-d mailing list