Share via


move_iterator::operator

Allows array index access to elements across the range of the move iterator.

reference operator[](difference_type _Off) const;

Property Value/Return Value

Returns a reference to the value of the iterator at _Off offset.

Remarks

The operator returns (reference)*(*this + _Off).

Requirements

Header: <iterator>

Namespace: std

See Also

Reference

move_iterator Class

<iterator>

Standard Template Library

Other Resources

move_iterator Members

<iterator> Members