"Export" logic does not work on variables

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Aug 25 06:18:58 PDT 2013


On 8/25/13, Benjamin Thaut <code at benjamin-thaut.de> wrote:
> This makes using the export keyword very cumbersome as you always have
> to pay attention to initialize variables so they actually get treated as
> export.

Yeah I dislike this behavior as well, I think it might have been
carried over from C/C++ (?).

Also look at the confusing extern keyword semantics:
http://dlang.org/declaration.html#extern


More information about the Digitalmars-d mailing list