What I'm currently trying is doing `__traits(getOverloads, T, "foo")`, and then checking if its type are equal. But it seems hackish, and I would like to make something like `hasOverload!(Test, "foo", int(int a, int b) const)` or something like that.
How to check if a class has a specific overload for member x?
Hipreme via Digitalmars-d-learn Sun, 31 Jul 2022 12:31:42 -0700
I wish to generate some functions using mixin template and I wish
to check if the current class already has an specific overload
with parameters (A, B).
- How to check if a class has a specific o... Hipreme via Digitalmars-d-learn
- Re: How to check if a class has a s... Hipreme via Digitalmars-d-learn
- Re: How to check if a class has... pascal111 via Digitalmars-d-learn