I'm trying to specialize a methode based on the type of the first argument of the class template
template<class T, class TOut = double >
class Histogram
{
// ...
void resetMinMaxVal();
}
template<class TOut>
inline void Histogram<int, TOut>::resetMinMaxVal()
{
// ...
}
template<class TOut>
inline void Histogram<long, TOut>::resetMinMaxVal()
{
// ...
}
I can't nail the syntax, seems to be this should be possible ?