Interfaces and templates

Adam D. Ruppe destructionator at gmail.com
Fri Sep 20 19:46:22 UTC 2019


On Friday, 20 September 2019 at 19:02:11 UTC, JN wrote:
> If so, why doesn't it throw an error about unimplemented write 
> (or incorrectly implemented) method?

because you never used it. templates don't get checked by the 
compiler until they are used...


More information about the Digitalmars-d-learn mailing list