D LanguageTemplates


Syntax

  • template identifier (TemplateParameterList) { ... }
  • struct identifier (TemplateParameterList) { ... }
  • class identifier (TemplateParameterList) { ... }
  • ReturnType identifier (TemplateParameterList)(ParameterList) { ... }
  • identifier!(TemplateInvocationList)