Overloading Generic Function Template
This video tutorial explains how to overload generic function templates in c++ programming.
You are gonna learn how to define a generic functions and overload their templates, how to use the overloaded template functions or generic functions, how to pass values to a overloaded template function function in detail with example.
source code for this tutorial
#includeusing namespace std; template void whatYouGot(T x); template void whatYouGot(T1 x, T2 y); int main() { whatYouGot(55); whatYouGot("anil"); whatYouGot(55.68); whatYouGot(55,33.59); whatYouGot("anil","anjali"); return 0; } template void whatYouGot(T x){ cout << "generic function with one parameter "<