Resolve function pointers using UDA during CT

Jakob Ovrum jakobovrum at gmail.com
Sun Feb 9 05:03:46 PST 2014


On Sunday, 9 February 2014 at 12:48:36 UTC, Tim Volckmann wrote:
> Any way to do something like this?

No, associative arrays cannot be transferred from compile-time to 
runtime yet, due to implementation issues. The next best thing 
you can do is to use a module constructor with a generated body 
that fills the AA.


More information about the Digitalmars-d-learn mailing list