Curiously recurring template pattern: Difference between revisions

Content deleted Content added
Static polymorphism: Added public inheritance to Derived. Without public or protected inheritance, implementation can not "interface" cannot be called on an object of derived.
Line 48:
};
 
struct Derived : public Base<Derived>
{
void implementation();