On Saturday, 27 May 2023 at 13:42:29 UTC, Basile B. wrote:
On Saturday, 27 May 2023 at 13:23:38 UTC, vushu wrote:
[...]
Is there something equivalent in dlang, doesn't seem like d support specialized overload?

D solution is called [template constraints](https://dlang.org/spec/template.html#template_constraints).

Yes I know there is template constraint, but not with specialized overloading right?

so you need to use static if for checking if it hasmagma.

Reply via email to