Ambiguity issue with expanding and evaluating single template type parameter enums
Adam Ruppe
destructionator at gmail.com
Tue Dec 28 00:41:25 UTC 2021
On Tuesday, 28 December 2021 at 00:13:13 UTC, data pulverizer
wrote:
> There are various requirements, sometimes I have to cast or
> type convert, so I **need** the type to paste correctly and
> explicitly.
You almost never actually need types as strings. I'm almost
certain there's a better way for you to get the same work done.
Have you tried just using T directly in your mixin? You can
frequently just use the local name and skip the string getting
entirely.
More information about the Digitalmars-d-learn
mailing list