The following code work exactly the same no matter I use the keyword typename or class.
What are the differences between these keywords when used to define generic functions?Code:template < typename my_type >
my_type fun( my_type arg1, my_type arg2 )
{
return arg1 + arg2;
}