Comparing Values with std::max in Modern C++