template <Type1 arg1, ..., TypeN argN = DefaultN> ...
{
Contents;
}
THDL++ allows defining templated entities, classes and functions. See the related pages for more details.
THDL++ are similar to VHDL generics. However, unlike VHDL generics that are limited to numbers, any THDL++ primitive can be specified as a template argument. E.g. an entity, class, template, or a list. Use the