IForwardIterator<TValue> Interface

 

Interface for an iterator that can access elements in a container only in the forward direction by using the increment operator. The element that the iterator points to can be both written to and read from any number of times. Forward iterators can be used anywhere an input or output iterator is required.

Namespace:   Microsoft.VisualC.StlClr.Generic
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

public interface IForwardIterator<TValue> : IInputIterator<TValue>, 
	IOutputIterator<TValue>

Type Parameters

TValue

The type of an element in the controlled sequence.

NameDescription
System_CAPS_pubmethodequal_to(IInputIterator<TValue>)

Determines whether two IInputIterator<TValue> objects are equal.(Inherited from IInputIterator<TValue>.)

System_CAPS_pubmethodget_cref()

Returns a constant reference to the element that the iterator is currently pointing to.(Inherited from IInputIterator<TValue>.)

System_CAPS_pubmethodget_ref()

Returns a reference to the element that the iterator is currently pointing to.(Inherited from IOutputIterator<TValue>.)

.NET Framework
Available since 3.5
Return to top
Show: