共用方式為


checked_iterator::operator<=

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

template <class Iter2>
    bool operator<=(
        const checked_iterator<Container, Iter2>& _Right) const;

Parameters

  • _Right
    The checked_iterator to compare against.

Remarks

See checked_iterator::operator>= for a code sample.

For more information, see Checked Iterators.

Requirements

Header: <iterator>

Namespace: std

See Also

Concepts

checked_iterator Class

checked_iterator Members

Standard Template Library