| Front Page / Metafunctions / Miscellaneous / min | 
Returns the smaller of its two arguments.
#include <boost/mpl/min_max.hpp>
| Parameter | Requirement | Description | 
|---|---|---|
| N1, N2 | Any type | Types to compare. | 
For arbitrary types x and y:
typedef min<x,y>::type r;
| Return type: | A type. | 
|---|---|
| Precondition: | less<x,y>::value is a well-formed integral constant expression. | 
| Semantics: | Equivalent to typedef if_< less<x,y>,x,y >::type r; | 
Constant time.