So explicit parametric polymorphism need not be restricted to a single type parameter. In other words I can write this in C++
template <typename First, typename Second>
struct Pair
{ First f;
Second s;
};
Can someone help me write a funciton "makePair" that takes two paramters of different types and returns a Pair containing its two values?
Hope someone can help