Bagikan melalui


move_iterator::move_iterator

Constructs a move iterator. Uses the parameter as the stored iterator.

move_iterator();
explicit move_iterator(RandomIterator _Right);
template<class Type>
    move_iterator(const move_iterator<Type>& _Right);

Parameters

  • _Right
    The iterator to use as the stored iterator.

Remarks

The first constructor initializes the stored iterator with its default constructor. The remaining constructors initialize the stored iterator with base.base().

Requirements

Header: <iterator>

Namespace: std

See Also

Reference

move_iterator Class

<iterator>

Standard Template Library

Other Resources

move_iterator Members

<iterator> Members