A pattern in which a class inherits from a class template with itself as one of its template parameters. CRTP is usually used to provide static polymorphism in C++.
CRTP to avoid code duplication
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0