Curiously recurring template pattern: Difference between revisions

Content deleted Content added
Example: correct typo in id derived/Derived since C++ is case sensitive
Line 3:
==Example==
// The Curiously Recurring Template Pattern (CRTP)
struct derived : base<Derivedderived>
{
// ...
Line 21:
};
struct my_derivedderived : base<my_derivedderived>
{
void implementation() { ... };
};