How to break const
Mehrdad
wfunction at hotmail.com
Mon Jun 18 08:24:30 PDT 2012
On Monday, 18 June 2012 at 15:21:36 UTC, Timon Gehr wrote:
>> So (**IMHO**) if that's really the case, we should really
>> spend some
>> time fixing the /design/ of const before the implementation...
>
> This is mostly about the design of object initialisation.
>
>> good idea or no?
>
> Certainly.
My initial instinct would be to require a "const constructor" in
order for an object to be const-able, but I'm not sure if that
would work correctly or not..
More information about the Digitalmars-d
mailing list