Tag Archives: C++ Templates

C++ Templates

The template is one of the powerful tools of C++ and it is often used to eliminate the concept of function overloading where the function has a similar function definition, with the same number of parameters but different data types. For example, if we want to make a function that compares two objects and returns… Read More »