Inheriting function template from super class

Adam D Ruppe destructionator at gmail.com
Mon Sep 27 16:10:54 UTC 2021


On Monday, 27 September 2021 at 14:54:41 UTC, Alexey wrote:
> I'm not sure if this is my incorrect code or incorrect dmd 
> behavior.


This is by design, overloads only consider things declared in the 
same place.

see here https://dlang.org/articles/hijack.html


More information about the Digitalmars-d-learn mailing list