Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Member functions | ||||
Non-member functions | ||||
(C++23)(C++23)(C++23)(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
Helper classes | ||||
common_type<std::basic_const_iterator> (C++23) |
Defined in header <iterator> | ||
template<class T,std::common_with<T> U> requiresstd::input_iterator<std::common_type_t<T, U>> | (1) | (since C++23) |
template<class T,std::common_with<T> U> requiresstd::input_iterator<std::common_type_t<T, U>> | (2) | (since C++23) |
template<class T,std::common_with<T> U> requiresstd::input_iterator<std::common_type_t<T, U>> | (3) | (since C++23) |
The common type of twobasic_const_iterator
s or abasic_const_iterator
and another iterator type is abasic_const_iterator
of the common underlying type.
The common type is defined only ifT andU share a common type which modelsinput_iterator
.
Member type | Definition |
type | std::basic_const_iterator<std::common_type_t<T, U>>(1-3) |
This section is incomplete Reason: no example |
(C++11) | determines the common type of a group of types (class template)[edit] |