Should this work: export extern(C) auto ...

Robert M. Münch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 19 05:58:42 PDT 2015


On 2015-03-18 21:50:39 +0000, Adam D. Ruppe said:

> It will not work because a function with an auto return value is 
> actually a template, and unused templates won't be put into a dll.

Ok, that makes it clear. Thanks.

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list