A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../keyword/../ranges/iterator_t.html below:

std::ranges::iterator_t, std::ranges::const_iterator_t, std::ranges::sentinel_t, std::ranges::const_sentinel_t - cppreference.com

1) Used to obtain the iterator type of the type T.

2)

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.

[edit] Template parameters [edit] Notes

iterator_t can be applied to non-range types, e.g. arrays with unknown bound.

[edit] Defect reports

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++23 const_iterator_t and const_sentinel_t were inconsistent
with the result of 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