While we're lynching features, how bout' them omittable parens?

grauzone none at example.net
Tue May 19 10:59:39 PDT 2009


>> How the hell do you write a pure setter?
> 
> Ok, "almost pure" =P
> 
> You should be able to modify "this", of course.

Properties could be automatically marked as const. Then a setter would 
not be allowed to change anything, except members explicitly marked with 
a "mutable" attribute.

Oh wait, that doesn't make any sense.



More information about the Digitalmars-d mailing list