Missing return value error not present with template

Tony tonytdominguez at aol.com
Thu Nov 16 02:30:34 UTC 2017


On Wednesday, 15 November 2017 at 11:20:24 UTC, Biotronic wrote:

Thanks Biotronic! I found this on the html documentation for 
templates: "The body of the TemplateDeclaration must be 
syntactically correct even if never instantiated. Semantic 
analysis is not done until instantiated", and that is a great 
explanation of why it is not semantically analyzed.




More information about the Digitalmars-d-learn mailing list