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.

Reply via email to