static map as a type function
Stefan Koch
uplink.coder at googlemail.com
Wed Sep 23 14:41:27 UTC 2020
On Wednesday, 23 September 2020 at 14:32:46 UTC, Steven
Schveighoffer wrote:
> OK, so this is possible in some circumstances. A good update to
> dmd would be to identify such "comparable" lambdas, and merge
> their template instantiations into one.
>
> -Steve
Only if you can keep the complexity out of the template
system/general semantics.
And I doubt that you could.
More information about the Digitalmars-d
mailing list