templategeneric
Templategeneric is a term used to describe a programming approach that blends template-based polymorphism with generic programming. It emphasizes designing software components that are parametric in types, values, and even other templates, with the aim of achieving high reuse and strong type safety without sacrificing performance.
The core idea of templategeneric design is to make components configurable through multiple layers of parameters:
A typical templategeneric pattern is a container or algorithm that is parameterized by a data type and
Language support and limitations
Templategeneric design is most closely associated with languages that support templates and template templates, notably C++.
See also generic programming, templates, template meta-programming, template template parameters, concepts.