kennen:lib:is_sorted_until
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | kennen:lib:is_sorted_until [2020-06-16 16:40] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== is_sorted_until() ====== | ||
+ | ''# | ||
+ | |||
+ | <code cpp> | ||
+ | For is_sorted_until (For first, For last) | ||
+ | For is_sorted_until (For first, For last, Binary comp) | ||
+ | For is_sorted_until (Exec pol, For first, For last) | ||
+ | For is_sorted_until (Exec pol, For first, For last, Binary comp) | ||
+ | |||
+ | For ranges:: | ||
+ | For ranges:: | ||
+ | </ | ||
+ | | ||
+ | auf das Ende des aufsteigend sortierten Teilbereichs [first,i) von [first, | ||
+ | |||
+ | ==== Parameter ==== | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | ==== Ergebnis ==== | ||
+ | Rückgabewert: | ||
+ | sonst letzten Iterator '' | ||
+ | für den '' | ||
+ | |||
+ | ==== Siehe auch ==== | ||
+ | [[is_sorted]], | ||
+ | [[partial_sort]], | ||
+ | [[sort]]. | ||
+ | |||
+ | ==== Beispiel ==== | ||
+ | <code cpp is_sorted_until.cpp> | ||
+ | #include < | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | int main() | ||
+ | { | ||
+ | std::string s = " | ||
+ | std::string t(begin(s), std:: | ||
+ | |||
+ | std::cout << s << " : " << t << ' | ||
+ | } | ||
+ | </ | ||
kennen/lib/is_sorted_until.txt · Zuletzt geändert: 2020-06-16 16:40 von 127.0.0.1