Virtual Template Functions in C++

One major advantage of object oriented programming (OOP) languages like C++ is polymorphism. Polymorphism is defined as, “The condition of occurring in several different forms”. In OOP, this would mean the compiler’s ability to infer the right function call / behavior based on the input data alone. For example, when calling an add function the … Continue reading Virtual Template Functions in C++