Bagikan melalui


move_iterator::difference_type

The type difference_type is a move_iteratortypedef based on the iterator trait difference_type, and can be used interchangeably with it.

typedef typename iterator_traits<RandomIterator>::difference_type
    difference_type;

Remarks

The type is a synonym for the iterator trait typename iterator_traits<RandomIterator>::pointer.

Requirements

Header: <iterator>

Namespace: std

See Also

Reference

move_iterator Class

<iterator>

Standard Template Library