DIP 45 - approval discussion

Benjamin Thaut code at benjamin-thaut.de
Sun Nov 10 04:13:50 PST 2013


Am 10.11.2013 13:03, schrieb Timon Gehr:
> Using the export attribute on some member exports the entire module
> info. If I understand this right, the module info will contain
> information also about non-exported members of the module and therefore
> even non-exported members will be accessible from outside. Is this correct?

Addition: It is necessary to export the module info. Because as soon as 
you import a module and use any part of it, the compiler will reference 
the module info.


More information about the Digitalmars-d mailing list