ContainerBidirectionalIterator<TValue>.equal_to 方法

定义

确定两个迭代器是否为同一对象。Determines if two iterators are the same object.

重载

equal_to(ContainerBidirectionalIterator<TValue>)

确定给定 ContainerBidirectionalIterator<TValue> 对象是否与当前 ContainerBidirectionalIterator<TValue> 对象相同。Determines whether the given ContainerBidirectionalIterator<TValue> object is the same as the current ContainerBidirectionalIterator<TValue> object.

equal_to(IInputIterator<TValue>)

确定给定 IInputIterator<TValue> 对象是否与当前 ContainerBidirectionalIterator<TValue> 对象相同。Determines if the given IInputIterator<TValue> object is the same as the current ContainerBidirectionalIterator<TValue> object.

equal_to(ContainerBidirectionalIterator<TValue>)

确定给定 ContainerBidirectionalIterator<TValue> 对象是否与当前 ContainerBidirectionalIterator<TValue> 对象相同。Determines whether the given ContainerBidirectionalIterator<TValue> object is the same as the current ContainerBidirectionalIterator<TValue> object.

public:
 bool equal_to(Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ _Right);
public bool equal_to (Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> _Right);
member this.equal_to : Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<'Value> -> bool
Public Function equal_to (_Right As ContainerBidirectionalIterator(Of TValue)) As Boolean

参数

返回

Boolean

如果两个 ContainerBidirectionalIterator<TValue> 对象为同一对象,则为 true;否则为 falsetrue if the two ContainerBidirectionalIterator<TValue> objects are the same object; otherwise, false.

适用于

equal_to(IInputIterator<TValue>)

确定给定 IInputIterator<TValue> 对象是否与当前 ContainerBidirectionalIterator<TValue> 对象相同。Determines if the given IInputIterator<TValue> object is the same as the current ContainerBidirectionalIterator<TValue> object.

public:
 virtual bool equal_to(Microsoft::VisualC::StlClr::Generic::IInputIterator<TValue> ^ _Right);
public virtual bool equal_to (Microsoft.VisualC.StlClr.Generic.IInputIterator<TValue> _Right);
abstract member equal_to : Microsoft.VisualC.StlClr.Generic.IInputIterator<'Value> -> bool
override this.equal_to : Microsoft.VisualC.StlClr.Generic.IInputIterator<'Value> -> bool
Public Overridable Function equal_to (_Right As IInputIterator(Of TValue)) As Boolean

参数

_Right
IInputIterator<TValue>

要与当前 ContainerBidirectionalIterator<TValue> 对象进行比较的 IInputIterator<TValue> 对象。The IInputIterator<TValue> object to compare with the current ContainerBidirectionalIterator<TValue> object.

返回

Boolean

如果两个迭代器为同一对象,则为 true;否则为 falsetrue if the two iterators are the same object; otherwise, false.

适用于