Generic Programming Glossary


Specialization allows multiple implementations of the same algorithm, each of which has different concept constraints. Typically, one can implement a certain baseline algorithm for a very small, widely applicable concept then implement more efficient, specialized algorithms for richer concepts. In some contexts, "specialization" may also refer to C++ (partial or full) specialization, as for function and class templates.

This definition is a part of the Generic Programming Glossary.