Re: using Template function
Say I want to make a comparable template, would I use template<typename Comparable> or template<class Comparable>? Since I want to use anything that is comparable including primitive data types, would template<class Comparable> work? I don't consider primitive data types a class.
|