1) Used to obtain the iterator type of the type T
.
Used to obtain the constant iterator type of the
range
type
R
.
3) Used to obtain the sentinel type of the range type R
.
4) Used to obtain the constant sentinel type of the range type R
.
iterator_t
can be applied to non-range types, e.g. arrays with unknown bound.
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR Applied to Behavior as published Correct behavior LWG 3946 C++23const_iterator_t
and const_sentinel_t
were inconsistent
ranges::cbegin
and ranges::cend
respectively tweaked [edit] See also
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4