how to create a c++ templeate code example
Example: how to create a c++ templeate
template <class myType>
myType GetMax (myType a, myType b) {
return (a>b?a:b);
}
template <class myType>
myType GetMax (myType a, myType b) {
return (a>b?a:b);
}