Transitive Const in OO programming

Steven Schveighoffer schveiguy at yahoo.com
Wed Aug 8 08:30:04 PDT 2007


"Regan Heath" <regan at netmail.co.nz> wrote in message 
news:f9clrl$11ui$1 at digitalmars.com...
> Regan Heath wrote:
>> Alex Burton wrote:
>>>
>>> Yes it would but then I can't simply call a get method (getResult)
>>> using a const reference to StateMachineWrapper.


Is there no equivalent for "mutable" in D?

-Steve 





More information about the Digitalmars-d mailing list