Go to the first, previous, next, last section, table of contents.


minmax header file

This header file is copied from the GNU libg++ library. Its min(), max() definitions are quite useful and appear several times at CNCL. As minmax is not included with all C++ libraries, this header file is added to CNCL.

The inline min() and the max() functions are declared for (un-)unsigned char, (un-)signed short, (un-)signed int, (un-)signed long, float and double.


Go to the first, previous, next, last section, table of contents.