A New Import Idiom`

Daniel Nielsen via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Feb 13 13:15:58 PST 2017


On Monday, 13 February 2017 at 21:04:05 UTC, Johan Engelen wrote:
> On Monday, 13 February 2017 at 20:09:45 UTC, Daniel Nielsen 
> wrote:
>> 
>> I still suspect there will be a difference in real-world 
>> applications even with LDC.
>
> Why would you expect there to be a difference?
> Module ctors/dtors are still pulled in, regardless of the 
> import being selective or not.
> What am I missing?
>
> Thanks,
>   Johan

Sorry, I misread your post. In Jack Stouffer test, main() was 
empty!



More information about the Digitalmars-d-announce mailing list