語言

ConstContainerRandomAccessIterator<TValue>.GreaterThan 運算子

定義

判斷迭代者的位置是否大於另一個迭代者的位置。

多載

名稱 Description
GreaterThan(ConstContainerRandomAccessIterator<TValue>)

判斷左側迭代器的位置是否大於右側迭代器的位置。

GreaterThan(IRandomAccessIterator<TValue>, ConstContainerRandomAccessIterator<TValue>)

判斷給定左側迭代器的位置是否大於右側給定的迭代器位置。

GreaterThan(ConstContainerRandomAccessIterator<TValue>)

判斷左側迭代器的位置是否大於右側迭代器的位置。

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

參數

_Right
ConstContainerRandomAccessIterator<TValue>

用來比較左側迭代器的迭代器。

傳回

true如果左側迭代器大於給定的右側迭代器;否則,。 false

適用於

GreaterThan(IRandomAccessIterator<TValue>, ConstContainerRandomAccessIterator<TValue>)

判斷給定左側迭代器的位置是否大於右側給定的迭代器位置。

public:
 static bool operator >(Microsoft::VisualC::StlClr::Generic::IRandomAccessIterator<TValue> ^ _Left, Microsoft::VisualC::StlClr::Generic::ConstContainerRandomAccessIterator<TValue> ^ _Right);
public static bool operator >(Microsoft.VisualC.StlClr.Generic.IRandomAccessIterator<TValue> _Left, Microsoft.VisualC.StlClr.Generic.ConstContainerRandomAccessIterator<TValue> _Right);
static member ( > ) : Microsoft.VisualC.StlClr.Generic.IRandomAccessIterator<'Value> * Microsoft.VisualC.StlClr.Generic.ConstContainerRandomAccessIterator<'Value> -> bool
Public Shared Operator > (_Left As IRandomAccessIterator(Of TValue), _Right As ConstContainerRandomAccessIterator(Of TValue)) As Boolean

參數

_Left
IRandomAccessIterator<TValue>

用來比較右側迭代器。

_Right
ConstContainerRandomAccessIterator<TValue>

用來比較左側迭代器的迭代器。

傳回

true若左側迭代器大於右側迭代器;否則,。 false

適用於