Pure dynamic casts?

Daniel Keep daniel.keep.lists at gmail.com
Tue Sep 22 02:24:11 PDT 2009



Jason House wrote:
> Dynamic casts are pure. They don't use global state, and have the same output for the same reference as input. Interestingly, dynamic cast results are independent of intervening mutable calls... So there's even greater opportunity for optimization.

What if the GC just happens to re-use that address for a different object?



More information about the Digitalmars-d mailing list