The Curious Case of the Recurring Template Pattern—K-Ballo

Save to:
Instapaper Pocket Readability

Do you remember CRTP? No? Then definitely read about it here:

The Curious Case of the Recurring Template Pattern

by K-ballo

Inheritance is a handy tool to simplify design and avoi code duplication. However, good old fashioned inheritance is not always the right tool for the job. What if a base class could know, at compile time, who derives from it? Enter the curiously recurring template pattern (CRTP)...

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.