Everything About ___
Live briefing

Everything about Curiously recurring template pattern

Software design pattern

The curiously recurring template pattern (CRTP) is an idiom in which a class derives from a class template instantiation using itself as a template parameter. More generally it is known as -bound polymorphism, and it is a form of F-bounded quantification. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Curiously recurring template patternA 5-minute orientation
  2. Go sideways: Variadic templateA closely related topic
  3. Go sideways: Template (C++)A closely related topic

đź“– Definitions

Noun An idiom in which a class X derives from a class template instantiation using X itself as template argument.

🏆 Landmark papers (most cited)

📚 Books worth reading

Open Library didn't respond; try again in a moment.

đź”— Related topics