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