SumType alias can't be deduced?

Emmanuelle VuLXn6DBW at
Mon Feb 21 23:04:42 UTC 2022

On Monday, 21 February 2022 at 20:18:46 UTC, Paul Backus wrote:
> This is a long-standing limitation of the D compiler's template 
> argument deduction: it cannot "see through" `alias` templates 
> to deduce the underlying type.

Oh, that’s an unfortunate limitation but at least there’s a 
workaround. Thank you!

More information about the Digitalmars-d-learn mailing list