On 4/30/14, 1:33 PM, monarch_dodra wrote:
On Wednesday, 30 April 2014 at 20:21:33 UTC, Andrei Alexandrescu wrote:
We're considering deprecating ~this() for classes in the future.
[...]
Slices T[] of structs with destructors shall be silently lowered into
RCSlice!T, defined inside object.d
I'm sure instead of outright deprecating destructor for class, we could
just store them in a RCClass!C (which would be 2 words big).
That's an interesting idea, but the whole notion of converting to Object
etc. makes the concept difficult (unless we define another root etc).
Andrei