Curiously recurring template pattern: Difference between revisions

Content deleted Content added
Abednigo (talk | contribs)
m fmt
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 Coplien{{ref|Coplien}}, who had observed it in some of the earliest [[C++]] template code.
 
==Example==