On Thursday, 5 August 2021 at 20:50:38 UTC, Steven Schveighoffer wrote:

I mean eventually AAs that are reasonably available at compile time, even though the structure is determined by the runtime, should be available at compile time. This allows them to be as usable with static immutable as regular arrays (and just about any other struct) are.

Right now, AA's implementation is completely opaque via extern(C) function prototypes implemented in the runtime, so the compiler doesn't know how to make one.

Thanks for the clarification Steve !

Reply via email to