比正向列表右侧的测试,如果向前运算符左侧的列表对象的对象。
bool operator>(
const forward_list <Type, Allocator>& _Left,
const forward_list <Type, Allocator>& _Right
);
参数
Parameter |
说明 |
---|---|
_Left |
forward_list 类型的对象。 |
_Right |
forward_list 类型的对象。 |
返回值
true,如果在运算符左侧的列表与运算符右侧的列表大于;否则 false。
备注
此模板函数返回 _Right < _Left。
要求
标头: <forward_list>
命名空间: std