template <class T>//or <typename T> it´s the same //T can be int, float, double, etc. //simple use example: T sum(T a, T b) { return a + b; } sum(5.0f, 10f);//sum using float sum(2,3);//sum using int