On Saturday, 14 January 2017 at 23:31:53 UTC, Adam D. Ruppe wrote:
On Saturday, 14 January 2017 at 21:55:27 UTC, David Zhang
wrote:
I seem to remember something about using aliases to fix this,
but I can't find anything about it either way.
So you can alias the names together to merge the overload sets,
or at the call site, you can also specify which class's version
you want with a dot:
cb.ClassA.fun(a, b); // compiles, specifically calls the ClassA
method
Is this documented anywhere? I had no idea this was a feature.