what is function template code example
Example: wap in c++ to understand function template
// Declartion of functio template
template <class T>
T someFunction(T arg)
{
... .. ...
}
// Declartion of functio template
template <class T>
T someFunction(T arg)
{
... .. ...
}