template in C++

Writing Generic programs in C++ is called Templates.
* One of the major features of the template in C++ is the usage of meta-programming. It Let the template signature of the provided code be different, were C++ provides the ability to implement them.
* Template arguments can be both classes and in functions.
* C++ requires template sources to be added in their headers.
* Template specialization could be achieved i.e, Specific type and method of template can be implemented.