Curiously recurring template pattern
Software design pattern / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Curiously recurring template pattern?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
The curiously recurring template pattern (CRTP) is an idiom, originally in C++, in which a class X
derives from a class template instantiation using X
itself as a template argument.[1] More generally it is known as F-bound polymorphism, and it is a form of F-bounded quantification.
Software design pattern
Oops something went wrong: