Better solution for the std::min/max problem!