Curiously recurring template pattern: Difference between revisions

Content deleted Content added
Dibeas (talk | contribs)
No edit summary
m +link
Line 1:
The '''curiously recurring template pattern''' ('''CRTP''') is a [[C++]] idiom in which a class <code>X</code> derives from a class template instantiation using <code>X</code> itself as template argument. The name of this idiom was coined by [[Jim Coplien]]{{ref|Coplien}}, who had observed it in some of the earliest [[C++]] template code.
 
== General form ==