int a = 1; int b = 2; int c = 3; int m = std::max({a, b, c});
template <class T> inline T max(T a, T b) { return a > b ? a : b; } //Example: max(2,5) = 5