templates in c++

Template introduction -: Template is one of the features added to c++. It is a new concept which enable us to define generic classes, functions and thus provides support for generic programming. Generic programming is an approach where generic types are used as parameters in algorithm so that they work for a variety of suitable … Read more