digitalmars.D - Re: Allocating structs with new?
- bearophile <bearophileHUGS lycos.com> Jul 12 2010
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
Jul 12 2010