Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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