共用方式為


checked_array_iterator Members

Reference

Constructors

checked_array_iterator

Constructs a default checked_array_iterator or a checked_array_iterator from an underlying iterator.

Typedefs

difference_type

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

pointer

A type that provides a pointer to an element addressed by a checked_array_iterator.

reference

A type that provides a reference to an element addressed by a checked_array_iterator.

Member Functions

base

Recovers the underlying iterator from its checked_array_iterator.

Operators

operator==

Tests two checked_array_iterators for equality.

operator!=

Tests two checked_array_iterators for inequality.

operator<

Tests if the checked_array_iterator on the left side of the operator is less than the checked_array_iterator on the right side.

operator>

Tests if the checked_array_iterator on the left side of the operator is greater than the checked_array_iterator on the right side.

operator<=

Tests if the checked_array_iterator on the left side of the operator is less than or equal to the checked_array_iterator on the right side.

operator>=

Tests if the checked_array_iterator on the left side of the operator is greater than or equal to the checked_array_iterator on the right side.

operator*

Returns the element that a checked_array_iterator addresses.

operator->

Returns a pointer to the element addressed by the checked_array_iterator.

operator++

Increments the checked_array_iterator to the next element.

operator--

Decrements the checked_array_iterator to the previous element.

operator+=

Adds a specified offset to a checked_array_iterator.

operator+

Adds an offset to an iterator and returns the new checked_array_iterator addressing the inserted element at the new offset position.

operator-=

Decrements a specified offset from a checked_array_iterator.

operator-

Decrements an offset from an iterator and returns the new checked_array_iterator addressing the inserted element at the new offset position.

operator[]

Returns a reference to an element offset from the element addressed by a checked_array_iterator by a specified number of positions.

See Also

Concepts

checked_array_iterator Class

Standard Template Library