ReverseRandomAccessIterator<TValue>.less_than 方法

定義

判斷目前的 Iterator 指向的項目,是否在容器中位於指定的 Iterator 所指向的項目之前。

多載

less_than(IRandomAccessIterator<TValue>)

判斷目前的 Iterator 指向的項目,是否在容器中位於指定的 Iterator 所指向的項目之前。

less_than(ReverseRandomAccessIterator<TValue>)

判斷目前的 Iterator 指向的項目,是否在容器中位於指定的 Iterator 所指向的項目之前。

less_than(IRandomAccessIterator<TValue>)

判斷目前的 Iterator 指向的項目,是否在容器中位於指定的 Iterator 所指向的項目之前。

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

參數

_Right
IRandomAccessIterator<TValue>

指向和目前 Iterator 同一個容器的有效 Iterator。

傳回

如果目前的 Iterator 所指向的項目,位於 _Right 所指向的項目之前,則為 true,否則為 false

實作

適用於

less_than(ReverseRandomAccessIterator<TValue>)

判斷目前的 Iterator 指向的項目,是否在容器中位於指定的 Iterator 所指向的項目之前。

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

參數

_Right
ReverseRandomAccessIterator<TValue>

指向和目前 Iterator 同一個容器的有效 Iterator。

傳回

如果目前的 Iterator 所指向的項目,位於 _Right 所指向的項目之前,則為 true,否則為 false

適用於