共用方式為


checked_array_iterator::difference_type

A type that provides the difference between two checked_array_iterators referring to elements within the same container.

typedef typename iterator_traits<_Iterator>::difference_type difference_type;

Remarks

The checked_array_iterator difference type is the same as the iterator difference type.

See checked_array_iterator::operator[] for a code sample.

For more information, see Checked Iterators.

Requirements

Header: <iterator>

Namespace: std

See Also

Reference

checked_array_iterator Class

Standard Template Library

Other Resources

checked_array_iterator Members