On 2/27/15 9:09 AM, Andrei Alexandrescu wrote:
On 2/27/15 1:09 AM, ted wrote:
Probably another silly question: How would the examples work with const/immutable (using examples in howtos)? e.g. const Widget a = new Widget; auto b = a; <-- mutable method Widget.opAddRef is not callable using a const objectThis is tricky. I meant to discuss it; for now I planted a TODO.
Wouldn't you bless this mechanism of logical const the same way synchronized does?
-Steve
