operator- (std::basic_const_iterator)
| 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)
|
||||
|
operator-
(C++23)
|
||||
| Helper classes | ||||
|
template
<
std::
sized_sentinel_for
<
Iter
>
S
>
constexpr difference_type operator - ( const S & s ) const ; |
(1) | (seit C++23) |
|
template
<
/*not-a-const-iterator*/
S
>
requires
std::
sized_sentinel_for
<
S, Iter
>
|
(2) | (seit C++23) |
Gibt den Abstand zwischen
basic_const_iterator
und seinem Sentinel zurück.
S
erfüllt das Ausstellungs-Konzept
/*not-a-const-iterator*/
genau dann, wenn es keine Spezialisierung von
basic_const_iterator
ist.
Parameter
| i, s | - | Iterator und Sentinel zur Berechnung der Differenz |
Rückgabewert
Beispiel
|
Dieser Abschnitt ist unvollständig
Grund: Kein Beispiel |