Re: why can't I call const methods on shared objects?
Vlad Levenfeld via Digitalmars-d-learn Fri, 09 May 2014 14:50:25 -0700
Is there any way to declare a method as "safe regardless of
shared/mutability/etc" (or some other way to avoid
cast(Type)object.property every time I want to check a property
which won't affect any state)?
- why can't I call const method... Vlad Levenfeld via Digitalmars-d-learn
- Re: why can't I call con... Steven Schveighoffer via Digitalmars-d-learn
- Re: why can't I call... Vlad Levenfeld via Digitalmars-d-learn
- Re: why can't I ... Vlad Levenfeld via Digitalmars-d-learn
- Re: why can'... Vlad Levenfeld via Digitalmars-d-learn
- Re: why can'... Steven Schveighoffer via Digitalmars-d-learn
- Re: why... Vlad Levenfeld via Digitalmars-d-learn
- Re: why... monarch_dodra via Digitalmars-d-learn
- Re: why can't I ... FreeSlave via Digitalmars-d-learn
- Re: why can'... FreeSlave via Digitalmars-d-learn
- Re: why can't I call con... John Colvin via Digitalmars-d-learn
- Re: why can't I call... Vlad Levenfeld via Digitalmars-d-learn