Destroying structs (literally)
monarch_dodra via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 28 23:39:19 PDT 2014
On Friday, 29 August 2014 at 02:38:54 UTC, H. S. Teoh via
Digitalmars-d wrote:
> Maybe a more relevant question might be, is there any existing
> code that
> *isn't* broken by structs not being destructed? (D-structed,
> har har.)
Well, this new change *could* greatly increase the amount of
"allocation during destruction" errors we are getting. I've seen
a fair share of these in learn, whereas a class destructor
allocates.
Structs will now also be more vulnerable to this problem too. I
wouldn't be surprised if this pull instantaneously introduced a
fair amount of breakage in client code.
More information about the Digitalmars-d
mailing list