Andrei Alexandrescu:
> Statically disabling new for structs with dtors - that's an interesting 
> idea.

In this bug report, comment 6, I have asked for a warning, but turning it into 
an error can work too :-)
http://d.puremagic.com/issues/show_bug.cgi?id=2834

Bye,
bearophile

Reply via email to