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