Comment Comment by pyjarrett C++'s "Curiously Recurring Template Pattern" template <typename T> class Foo {}; class Bar : public Foo<Bar> { ... }; https://en.cppreference.com/w/cpp/language/crtp parent pyjarrett 4 years ago