Static Polymorphism with CRTP: Using the Base Class to Call Derived Methods
问题 One of the main benefits of virtual in C++ is being able to use the base class (pointer or reference) to call derived methods. I'm reading up on using CRTP to implement static polymorphism, but I can't understand how to achieve what I've mentioned above using this technique, because I can't declare a function as taking type Base when this requires a template. It seems to me that what is described in the article could be achieved by simply using function overloading, so I'm sure that there