February 09, 2002 Re: construction destruction conventions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | "Pavel Minayev" <evilone@omen.ru> wrote in message news:a443u6$148r$1@digitaldaemon.com... > "Walter" <walter@digitalmars.com> wrote in message news:a43tq4$11uk$3@digitaldaemon.com... > > > The list of classes is already globally available, look at how modules get > > initialized! > > Ahh... now I see. But the _moduleinfo_array[] is not "official" part of the language, right? So it's not portable... I hadn't thought of that. Once some experience with it shows it's right, it should probably go into the spec. > Also I've just thought that it'd be great for the class to know the module where it's declared. Well you know, just a ModuleInfo member in the ClassInfo. Might be useful to handle cases where classnames match... Yeah, that should be there. |
Copyright © 1999-2021 by the D Language Foundation