kennen:lib:is_permutation
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | kennen:lib:is_permutation [2020-06-16 15:56] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== is_permutation() ====== | ||
+ | ''# | ||
+ | |||
+ | <code cpp> | ||
+ | bool is_permutation (For first, For last, For2 first2) | ||
+ | bool is_permutation (For first, For last, For2 first2, Binary comp) | ||
+ | bool is_permutation (For first, For last, For2 first2, For2 last2) | ||
+ | bool is_permutation (For first, For last, For2 first2, For2 last2, Binary comp) | ||
+ | |||
+ | bool ranges:: | ||
+ | bool ranges:: | ||
+ | </ | ||
+ | Prüft, ob [first2, | ||
+ | |||
+ | ==== Parameter ==== | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | ==== Ergebnis ==== | ||
+ | Rückgabewert: | ||
+ | |||
+ | ==== Siehe auch ==== | ||
+ | [[next_permutation]], | ||
+ | [[prev_permutation]]. | ||
+ | |||
+ | ==== Beispiel ==== | ||
+ | <code cpp is_parmutation.cpp> | ||
+ | #include < | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | int main() | ||
+ | { | ||
+ | std::string s = " | ||
+ | std::cout << s << " ./. " << s2 << " : " | ||
+ | << std:: | ||
+ | } | ||
+ | </ | ||