Proposal: ClassInfo hasFinalizer field

Walter Bright newshound2 at digitalmars.com
Sat Jun 4 20:45:19 PDT 2011


On 6/4/2011 9:58 AM, dsimcha wrote:
> The current implementation of druntime flags **ALL** classes as having
> finalizers when allocated via the new operator, even if they don't.

One issue is that if someone derives from a class and adds a finalizer.


More information about the Digitalmars-d mailing list