AA literals/initialisation
Jakob Ovrum
jakobovrum at gmail.com
Sun Jan 12 07:14:34 PST 2014
On Sunday, 12 January 2014 at 14:30:42 UTC, Daniel Murphy wrote:
> This used to be true, but now we can pass heap-allocated
> structs and classes from compile-time to run-time. The fact we
> can't do the same for AAs is an embarrassing limitation.
This ability for class instances is fairly recent, but the same
point remains - being able to instantiate a class at compile-time
and use it at runtime is equally a tall order, not a fundamental
feature, and it wasn't a bug when it was absent.
More information about the Digitalmars-d
mailing list