DIP25 draft available for destruction
Johannes Pfau
nospam at example.com
Wed Feb 6 01:15:01 PST 2013
Am Wed, 06 Feb 2013 02:38:17 -0500
schrieb Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org>:
> Probably it'll need a fair amount of tweaking. Anyhow it's in
> destroyable form.
>
> http://wiki.dlang.org/DIP25
>
>
> Thanks,
>
> Andrei
Sounds good.
Regarding rule 2.2:
I think somebody already said that classes could be allocated on
the stack but I guess we can't do anything about that. At least in
@safe code placing a class on the stack should be illegal though, so we
can partially avoid the problem there.
If we have such a special rule for classes would it also make sense to
have a similar rule for struct*?
More information about the Digitalmars-d
mailing list