kennen:lib:find_if_not
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | kennen:lib:find_if_not [2020-06-14 13:24] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== find_if_not() ====== | ||
+ | ''# | ||
+ | |||
+ | <code cpp> | ||
+ | In find_if_not (In first, In last, Pred pred) | ||
+ | In find_if_not (Exec pol, In first, In last, Pred pred) | ||
+ | |||
+ | In ranges:: | ||
+ | In ranges:: | ||
+ | </ | ||
+ | | ||
+ | |||
+ | ==== Parameter ==== | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | ==== Ergebnis ==== | ||
+ | Rückgabewert: | ||
+ | Wurde kein Element gefunden, wird '' | ||
+ | |||
+ | ==== Siehe auch ==== | ||
+ | [[find]], | ||
+ | [[find_first_of]], | ||
+ | [[find_if]]. | ||
+ | |||
+ | ==== Beispiel ==== | ||
+ | <code cpp find_of_not.cpp> | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | bool ist_vokal(char c) | ||
+ | { | ||
+ | return c==' | ||
+ | } | ||
+ | |||
+ | int main() | ||
+ | { | ||
+ | const char str[] = "Hallo Welt"; | ||
+ | |||
+ | const char *pos = std:: | ||
+ | | ||
+ | if (pos != end(str)) | ||
+ | { | ||
+ | std::cout << pos << ' | ||
+ | } | ||
+ | } | ||
+ | </ | ||
kennen/lib/find_if_not.txt · Zuletzt geändert: 2020-06-14 13:24 von 127.0.0.1