imports in a Separate File?

Ron Tarrant rontarrant at gmail.com
Tue Dec 11 16:37:54 UTC 2018


On Tuesday, 11 December 2018 at 15:39:18 UTC, Steven 
Schveighoffer wrote:

> Use public imports in your header file. This will pretend that 
> the symbols imported reside in the module itself.
>
> i.e. inside importedStuff.d:
>
> public {
>    // 120 import statements
> }
>
> -Steve

Thanks, Steve. Works like a charm... but you knew that.


More information about the Digitalmars-d-learn mailing list