ContainerRandomAccessIterator<TValue>.Subtraction Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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(ContainerRandomAccessIterator<TValue>, Int32) |
Decrements the iterator by the given number of elements. The integer parameter is specified on the right side of the subtraction 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
The IRandomAccessIterator<TValue> to be subtracted from the current ContainerRandomAccessIterator<TValue> object.
Returns
The difference (number of elements) between the two iterators.
Applies to
Subtraction(ContainerRandomAccessIterator<TValue>, Int32)
Decrements the iterator by the given number of elements. The integer parameter is specified on the right side of the subtraction operator.
public:
void ^ operator -(Microsoft::VisualC::StlClr::Generic::ContainerRandomAccessIterator<TValue> ^ % unnamedParam1, int _Right);
public void operator - (ref Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue> unnamedParam1, int _Right);
member this.( - ) : ContainerRandomAccessIterator * int -> unit
Public Operator - (ByRef unnamedParam1 As ContainerRandomAccessIterator(Of TValue), _Right As Integer) As Void
Parameters
- unnamedParam1
- ContainerRandomAccessIterator<TValue>
The current iterator.
- _Right
- Int32
The number of elements to decrement.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om