比较两个对象并返回两个中小的,其中是排序的标准可以由二进制谓词指定。
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/algorithm>
命名空间: cliext