Template Mixins
You will be acquainted with template mixins in this lesson.
We'll cover the following...
We'll cover the following...
Mixins are for mixing generated code into the source code. The mixed-in code may be generated as a template instance or a string.
Code can also be inserted into the program as a string import.
Template mixins
We have seen in the templates and more templates chapters that templates define code as a pattern, for the compiler to generate actual instances from that pattern. Templates can generate functions, structs, unions, ...