แก้ไข

แชร์ผ่าน


ConstContainerRandomAccessIterator<TValue>.Subtraction Operator

Definition

Decrements the iterator by the given number of elements, or determines the difference between two iterators.

Overloads

Subtraction(IRandomAccessIterator<TValue>)

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>)

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

Parameters

Returns

The difference, in number of elements, between the two iterators.

Applies to

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

Parameters

unnamedParam1
ConstContainerRandomAccessIterator<TValue>

The current iterator.

_Right
Int32

The number of elements to decrement.

Applies to