Time Travel in C++: Implementing Static Polymorphism with CRTP

Time Travel in C++: Implementing Static Polymorphism with CRTP

Hey, friends! Hui Mei is back! 😄 Today we are going to talk about a topic that seems a bit ‘sci-fi’: CRTP (Curiously Recurring Template Pattern), which literally translates to ‘Curiously Recurring Template Pattern’. Don’t be scared by this name; it is actually a very practical C++ technique often used to achieve efficient static polymorphism. … Read more