Skip to main content
Replace blatantly copied excerpt, emphasise tag is not for plain template use
Source Link
Toby Speight
  • 88.3k
  • 14
  • 104
  • 327

Template meta-programming is a meta-programming technique in whichFor code that uses templates are used by a compiler to generate temporary sourcecompile-time executed code, which is merged by the compiler with the rest. For ordinary use of templates, use the source code and then compiled'template' tag instead.

Template meta-programming is a meta-programming technique in which templates are used by a compiler to generate temporary source code, which is merged by the compiler with the rest of the source code and then compiled.

For code that uses templates to generate compile-time executed code. For ordinary use of templates, use the 'template' tag instead.

Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

Template meta-programming is a meta-programming technique in which templates are used by a compiler to generate temporary source code, which is merged by the compiler with the rest of the source code and then compiled.