C++Curiously Recurring Template Pattern (CRTP)

Download C++ for free

Introduction

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

CRTP to avoid code duplication