I have been dreaming for years about dyadic operators min and max similar to other arithmetic operators.
E.g.
int a, b, c;
cout << (a min b) max c;
As well as the corresponding assignment operators,
a min= b;
How can I lobby to obtain this in a future version ?
Possible notation could be \/
and /\
, but I have no strong requirement about this :-)
The question is not about set and ranges, but numerical types.