public imports

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Dec 5 23:18:49 UTC 2018


On Wed, Dec 05, 2018 at 10:57:37PM +0000, Sjoerd Nijboer via Digitalmars-d-learn wrote:
[...]
> I was trying to get some form of persistant import outside of the
> function/template scope in the module scope, depending on the
> parameters of the function or template.  I hoped I could find
> something funny or maybe some usefull trick.  Unfortunately I couldn't
> :/
[...]


Maybe if you described to us exactly what you want to do, we could find
a way to do it that doesn't involve language holes that are not
guaranteed to work?


T

-- 
Spaghetti code may be tangly, but lasagna code is just cheesy.


More information about the Digitalmars-d-learn mailing list