How to create compile-time container?

Steven Schveighoffer schveiguy at gmail.com
Tue Sep 1 19:38:29 UTC 2020


On 9/1/20 3:09 PM, Andrey Zherikov wrote:
> Unfortunately this won't work if there is a function 'bar' in different 
> module that calls 'foo':

You should post a full example you expect to work or not work, then we 
can discuss.

I think it should work (I've tried it), but there are several problems 
that could possibly happen with your code, and it's hard to tell what 
you mean by "won't work" with the incomplete code that you posted.

-Steve


More information about the Digitalmars-d-learn mailing list