standard-conversion

Explicit Instantiation

This was motivated by this article (page 5) template<class T> T const &f(T const &a, T const &b){ return (a > b ? a : b); } template int const &f<int>(int const &, int const &); int main(){ int x = 0, y = 0; short s = 0; f(x, y); // OK f(x, s); // Is this call well-formed? } Is the call 'f(x, s)' well-fo...