Max() and Min() should accept more than two parameters
Original Reporter info from Mantis: szali
-
Reporter name: szali
Original Reporter info from Mantis: szali
- Reporter name: szali
Description:
There should be overloaded versions of Max and Min accepting e.g. 3, 4, ... parameters. It would make code more readable, and could be achieved by writing some simple inline functions. In my opinion this looks better:
Max(1, 2, 3, 4)
than
Max(Max(1, 2), Max(3, 4))
Mantis conversion info:
- Mantis ID: 21038
- OS: all
- OS Build: all
- Platform: all
- Version: 2.6.0