template<typename F, typename I, int M, int C>
string qqq(F f)
{
// ...
}
Now there are only two combinations that make sense for my application:
float, int, 23, 255 and
double, long long, 52, 1023
Is it possible to instantiate the template for only these two combinations, so one can use qqq(float) and qqq(double) without explicitly stating the other three parameters? With class templates one can use typedefs, but I don't know how do to it with function templates.