If you can.
How to Turn a Hierarchy of Virtual Methods into a CRTP
by Jonathan Boccara
From the article:
So let’s see how to implement static polymorphism in the above code. This question can be split into two parts:
- How to replace virtual methods by a CRTP,
- How to make a CRTP inherit from another CRTP...
Add a Comment
Comments are closed.