struct1 is visible in the DLL, struct2 is not visible in the DLL.
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.
Adam D. Ruppe via Digitalmars-d-learn Wed, 18 Mar 2015 14:55:51 -0700
struct1 is visible in the DLL, struct2 is not visible in the DLL.
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.