Q:

What are the constraints on the iterators that form iterator ranges

0

What are the constraints on the iterators that form iterator ranges?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

The constraints for two iterators, `begin` and `end`, forming an iterator range are

1. They refer to elements of, or one past the end of, the same container.

2. `end` must not precede `begin`.

 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now