Mixin template overloads not working

Stanislav Blinov stanislav.blinov at gmail.com
Fri Dec 3 10:57:34 UTC 2021


On Friday, 3 December 2021 at 10:42:37 UTC, Rumbu wrote:

> Bug or feature? Is there any workaround?

The error message explains what to do :)

> Error: class `mixinover.AnotherVisitor` use of 
> `mixinover.Visitor.visit(S s)` is hidden by `AnotherVisitor`; 
> use `alias visit = Visitor.visit;` to introduce base class 
> overload set


More information about the Digitalmars-d-learn mailing list