We use
x += y
instead of
x = x + y
And similarly for *,/,-
and other operators. Well, what about
No, it is not possible to create new custom operators.
You have a few available solutions though:
llama_min_age = std::min(x, y);
llama_min_age = (x < y ? x : y);
Or even a macro if you want to:
#define MIN(x, y) ((x) < (y) ? (x) : (y))
About the macro: it can lead to vicious bug, so I would prefer to use one of the first two solutions.