[range.access.cend] (original) (raw)

25 Ranges library [ranges]

25.3.5 ranges​::​cend [range.access.cend]

Given a subexpression E with type T, let t be an lvalue that denotes the reified object for E.

Then:

[Note 1:

Whenever ranges​::​cend(E) is a valid expression, the types S and I of the expressionsranges​::​cend(E) and ranges​::​cbegin(E)model sentinel_for<S, I>.

If S models input_iterator, then S also models constant-iterator.

— _end note_]