比较两个对象并返回较小者两个,其中是保留的标准可以由二进制谓词指定。
template<class _Ty> inline
const _Ty min(const _Ty% _Left, const _Ty% _Right);
template<class _Ty, class _Pr> inline
const _Ty min(const _Ty% _Left, const _Ty% _Right, _Pr _Pred);
备注
此功能相同的行为就如同 STL 功能 min的。有关更多信息,请参见 min。
要求
标题: <cliext/算法>
命名空间: cliext