다음을 통해 공유


move_iterator Members

Reference

Constructors

move_iterator

The constructor for objects of type move_iterator.

Typedefs

move_iterator::iterator_type

A synonym for the template parameter RandomIterator.

move_iterator::iterator_category

A synonym for a longer typename expression of the same name, iterator_category identifies the general abilities of the iterator.

move_iterator::value_type

A synonym for a longer typename expression of the same name, value_type describes what type the iterator elements are.

move_iterator::difference_type

A synonym for a longer typename expression of the same name, difference_type describes the integral type required to express difference values between elements.

move_iterator::pointer

A synonym for template parameter RandomIterator.

move_iterator::reference

A synonym for the rvalue reference value_type&&.

Member Functions

move_iterator::base

The member function returns the stored iterator wrapped by this move_iterator.

Operators

move_iterator::operator*

Returns (reference)*base().

move_iterator::operator++

Increments the stored iterator. Exact behavior depends on whether it is a preincrement or a postincrement operation.

move_iterator::operator--

Decrements the stored iterator. Exact behavior depends on whether it is a predecrement or a postdecrement operation.

move_iterator::operator->

Returns &**this.

move_iterator::operator-

Returns move_iterator(*this) -= by first subtracting the right-hand value from the current position.

move_iterator::operator[]

Returns (reference)*(*this + off). Allows you to specify an offset from the current base to obtain the value at that location.

move_iterator::operator+

Returns move_iterator(*this) += the value. Allows you to add an offset to the base to obtain the value at that location.

move_iterator::operator+=

Adds the right-hand value to the stored iterator, and returns *this.

move_iterator::operator-=

Subtracts the right-hand value from the stored iterator, and returns *this.

See Also

Reference

move_iterator Class

<iterator>

Standard Template Library

Other Resources

<iterator> Members