Does this clause always return true for standard containers?
container.end() == container.cend(); Yes, always. Iterators pointing to the same position in the container should be equal, even if they differ in type (normal vs. constantan).
See 23.2.1 / 7
In the expressions
i == j
i! = j
i <j
i <= j
i> = j
i> j
i - j
For example, it can be used to refer to the semantics .
Source: https://ru.stackoverflow.com/questions/632479/
All Articles
c++14- mary