如果向前运算符左侧的列表对象与向前不相等列表右侧,的测试对象。
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