On 7/7/21 12:14 PM, Kevin Bailey wrote: > fairly simple template argument deduction
It's not the simplest but it is still complicated. :) > I guess D can't crack open a type like that?There are other ways of achieving the same thing the simplest of which is probably the following:
void func(B)(B f) { }Apparently, there are additional constraints on B, which can be expressed in D with some flexibility, pragmatism, and optimism.
Ali