[Issue 4621] Destructors are inherently un- at safe
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 11 11:43:02 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4621
--- Comment #3 from Jonathan M Davis <jmdavisProg at gmail.com> 2010-08-11 11:43:00 PDT ---
Ouch. That last sentence of my needs editing. I meant to say that I don't want
to see structs on the _stack_ not being allowed to have destructors in SafeD.
But obviously you understood what I meant.
As for your suggestion, couldn't the compiler just disallow structs with
destructors from anywhere but the stack in SafeD? If you try and declare them
anywhere else, you'd get an error. There shouldn't be any need to distinguish
them otherwise. The destructor itself could do that.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list