IDeque<TValue>.erase Method (ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>, ContainerRandomAccessIterator<TValue>)
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Removes the elements between the specified iterators.
Assembly: Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)
void erase( ref ContainerRandomAccessIterator<TValue> , ContainerRandomAccessIterator<TValue> _First_iter, ContainerRandomAccessIterator<TValue> _Last_iter )
Parameters
- __unnamed0
An iterator that designates the first element remaining beyond any elements removed, or end if no such element exists.
- _First_iter
-
Type:
Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue>
The beginning position of the range to erase.
- _Last_iter
-
Type:
Microsoft.VisualC.StlClr.Generic.ContainerRandomAccessIterator<TValue>
The position one beyond the last element of the range to erase.
For more information, see deque::erase (STL-CLR).
Show: