The Artima Developer Community
Sponsored Link

Heron-Centric: Ruminations of a Language Designer
Error in "Building More Flexible Types with Mixins"
by Christopher Diggins
December 31, 2005
I made a mistake in my latest Agile C++ article for C++ Users Journal, and I want to retract it.


I made a big mistake in my latest article "Building More Flexible Types with Mixins", I called the technique of a class inheriting from a template parameter an example of the Curiously Recurring Template Pattern (CRTP). Instead it is an example of a, as far as I know, unnamed pattern of inheritance of a template parameter. If this pattern indeed lacks a name I propose the Parameterized Inheritance Pattern ( PIP ). Thanks to Terje Slettebo for pointing out the error.

Talk Back!

Have an opinion? Readers have already posted 5 comments about this weblog entry. Why not add yours?

RSS Feed

If you'd like to be notified whenever Christopher Diggins adds a new entry to his weblog, subscribe to his RSS feed.

About the Blogger

Christopher Diggins is a software developer and freelance writer. Christopher loves programming, but is eternally frustrated by the shortcomings of modern programming languages. As would any reasonable person in his shoes, he decided to quit his day job to write his own ( ). Christopher is the co-author of the C++ Cookbook from O'Reilly. Christopher can be reached through his home page at

This weblog entry is Copyright © 2005 Christopher Diggins. All rights reserved.

Sponsored Links


Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use