lexicographical_compare (STL/CLR)

逐个元素比较两个序列以确定其中的较小序列。

template<class _InIt1, class _InIt2> inline
    bool lexicographical_compare(_InIt1 _First1, _InIt1 _Last1,
        _InIt2 _First2, _InIt2 _Last2);
template<class _InIt1, class _InIt2, class _Pr> inline
    bool lexicographical_compare(_InIt1 _First1, _InIt1 _Last1,
        _InIt2 _First2, _InIt2 _Last2, _Pr _Pred);

备注

此函数行为与 STL lexicographical_compare函数相同。 有关详细信息,请参阅lexicographical_compare

要求

标头: <cliext/algorithm>

命名空间: cliext

请参见

参考

algorithm (STL/CLR)