multiMap() function - integer linear interpolation

I never posted it, but here is my modified map version.

Does it really make sense to be able to specify any type for each of the 5 arguments?

How would that deal with this:

String valueToMap = "Hello world";
int fromMin = 0;
float fromMax =14.7;
char toMin = 'G';
char *toMax = "The answer to life, the universe and everything";

godOnlyKnowsWhatKind mappedValue = map(valueToMap, fromMin, fromMax, toMin, toMax);