min (STL/CLR)
比較兩物件並傳回較小的一方,其中排序準則可能由二進位述詞所指定。
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