共用方式為


operator> (<forward_list>)

測試,如果在運算子左方的向前清單物件大於右邊的向前清單物件。

bool operator>(
    const forward_list <Type, Allocator>& _Left,
    const forward_list <Type, Allocator>& _Right
);

參數

參數

說明

_Left

型別 forward_list 的物件。

_Right

型別 forward_list 的物件。

傳回值

true ,如果在運算子左方的清單大於清單在運算子右方的;否則為 false。

備註

這個樣板函式會傳回 _Right < _Left。

需求

標題: <forward_list>

命名空間: std

請參閱

參考

<forward_list>