TypeFunction example creatiing a conversion matrix
Stefan Koch
uplink.coder at gmail.com
Fri Oct 2 14:34:54 UTC 2020
On Friday, 2 October 2020 at 12:56:35 UTC, Adam D. Ruppe wrote:
> On Friday, 2 October 2020 at 04:53:12 UTC, Stefan Koch wrote:
>> You still create unnecessary symbols.
>
> Not true.
>
> Absolutely identical. An eponymous template resolving to an
> enum of a common type is indistinguishable to a literal of that
> type. It does *not* generate anything extra for nested helper
> functions in there.
Replace the static immutable with enum and check again.
More information about the Digitalmars-d
mailing list