語言

ConstContainerRandomAccessIterator<TValue>.less_than 方法

定義

判斷當前迭代器是否指向容器中位於該迭代器指向元素之前的元素。

多載

名稱 Description
less_than(ConstContainerRandomAccessIterator<TValue>)

判斷當前迭代器是否指向容器中位於該迭代器指向元素之前的元素。

less_than(IRandomAccessIterator<TValue>)

判斷當前迭代器是否指向容器中位於該迭代器指向元素之前的元素。

less_than(ConstContainerRandomAccessIterator<TValue>)

判斷當前迭代器是否指向容器中位於該迭代器指向元素之前的元素。

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

參數

_Right
ConstContainerRandomAccessIterator<TValue>

一個有效的迭代器,指向與當前迭代器相同的容器。

傳回

true 如果當前迭代器指向的元素位於指向的 _Right 元素之前;否則, false。

適用於

less_than(IRandomAccessIterator<TValue>)

判斷當前迭代器是否指向容器中位於該迭代器指向元素之前的元素。

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>

一個有效的迭代器,指向與當前迭代器相同的容器。

傳回

true 如果當前迭代器指向的元素位於指向的 _Right 元素之前;否則, false。

實作

適用於