Overload dispatch by templated interface type doesn't seem to work

QAston via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 20 06:06:05 PST 2016


On Wednesday, 20 January 2016 at 14:01:23 UTC, QAston wrote:
> To me this suggests that the dispatch by templated interface 
> type Visitor!(RETURN) doesn't work. IMO the order of interfaces 
> shouldn't matter here and the code should simply work.
>
> Any ideas?

I'm on 2069.2 and when i remove one of the offending classes 
(Print or Eval) class the other compiles and works.


More information about the Digitalmars-d-learn mailing list