Curiously Recurring Template Pattern (CRTP)

Download c++ eBook


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++.

Related Examples


319 Contributors: 1
Monday, February 27, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook