ConstContainerRandomAccessIterator<TValue>.Subtraction 演算子

定義

指定の要素数だけ反復子をデクリメントするか、2 つの反復子の差を確認します。Decrements the iterator by the given number of elements, or determines the difference between two iterators.

オーバーロード

Subtraction(IRandomAccessIterator<TValue>)

2 つの反復子の差を確認します。Determines the difference between two iterators.

Subtraction(ConstContainerRandomAccessIterator<TValue>, Int32)

指定の要素数だけ反復子をデクリメントします。Decrements the iterator by the given number of elements. 加算演算子の右辺には整数のパラメーターを指定します。The integer parameter is specified on the right side of the addition operator.

Subtraction(IRandomAccessIterator<TValue>)

2 つの反復子の差を確認します。Determines the difference between two iterators.

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

パラメーター

戻り値

2 つの反復子の差 (差は要素数で表します)。The difference, in number of elements, between the two iterators.

Subtraction(ConstContainerRandomAccessIterator<TValue>, Int32)

指定の要素数だけ反復子をデクリメントします。Decrements the iterator by the given number of elements. 加算演算子の右辺には整数のパラメーターを指定します。The integer parameter is specified on the right side of the addition operator.

public:
 void ^ operator -(Microsoft::VisualC::StlClr::Generic::ConstContainerRandomAccessIterator<TValue> ^ % , int _Right);
public void operator - (ref Microsoft.VisualC.StlClr.Generic.ConstContainerRandomAccessIterator<TValue> , int _Right);
member this.( - ) : ConstContainerRandomAccessIterator * int -> unit
Public Operator - (ByRef  As ConstContainerRandomAccessIterator(Of TValue), _Right As Integer) As Void

パラメーター

_Right
Int32

デクリメントする要素の数。The number of elements to decrement.

適用対象