[Issue 4621] Destructors are inherently un- at safe
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 11 11:36:35 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4621
Jonathan M Davis <jmdavisProg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmdavisProg at gmail.com
--- Comment #1 from Jonathan M Davis <jmdavisProg at gmail.com> 2010-08-11 11:36:33 PDT ---
What about structs which are on the stack? I agree that the stuff on the heap
has this problem, but structs on the stack should be fine, shouldn't they?
I'd hate for structs on the stack not be able to have destructors except in
SafeD. It would make RAII only work in SafeD, which would not be good.
I do agree that destructors on the heap should be disallowed in SafeD, but I
don't want to see structs on the heap not being allowed to have destructors in
SafeD.
--
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