Template method in interfaces

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 10 08:54:42 PDT 2016


On Wednesday, 10 August 2016 at 15:48:10 UTC, Lodovico Giaretta 
wrote:
> I read the spec again, and found out that it says interfaces 
> cannot contain templated functions... So either my 
> interpretation is the intended one and the spec is outdated, or 
> the spec is right and the compiler is bugged.

Spec must be out of date, I remember this being a conscious 
decision to add them.


More information about the Digitalmars-d-learn mailing list