Due to the C++ core guidelines, "Templates are the backbone of C++’s support for generic programming and class hierarchies the backbone of its support for object-oriented programming. The two language mechanisms can be combined effectively, but a few design pitfalls must be avoided." Let me see what this means.
Read more
Read more...