static map as a type function
bcarneal at gmail.com
Thu Sep 24 16:18:22 UTC 2020
On Thursday, 24 September 2020 at 15:59:51 UTC, Stefan Koch wrote
On Thursday, 24 September 2020 at 15:59:51 UTC, Stefan Koch wrote:
> Oh and typeinfo has to be generated eagerly!
> Whereas the current way it works with ctfe is lazy.
> Which means as long as nothing else requires typeinfo, using it
> at CTFE does not require you to generate it.
> So code that only uses type info at ctfe does compile with
So, to confirm:
1) type functions, as proposed, will work with -betterC? and,
2) type functions leave no footprint in .o files?
More information about the Digitalmars-d