kennen:lib:replace_copy
no way to compare when less than two revisions
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Letzte Überarbeitung | |||
— | kennen:lib:replace_copy [2020-06-15 21:15] – angelegt - Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== replace_copy() ====== | ||
+ | ''# | ||
+ | |||
+ | <code cpp> | ||
+ | Out replace_copy (In first, In last, Out result, T alterwert, T neuerwert) | ||
+ | Out replace_copy (Exec pol, In first, In last, Out result, T alterwert, T neuerwert) | ||
+ | |||
+ | [last, out] = ranges:: | ||
+ | [last, out] = ranges:: | ||
+ | </ | ||
+ | | ||
+ | ==== Parameter ==== | ||
+ | ==== Parameter ==== | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | ==== Ergebnis ==== | ||
+ | Rückgabewert: | ||
+ | |||
+ | ==== Siehe auch ==== | ||
+ | [[replace]], | ||
+ | [[replace_copy_if]], | ||
+ | [[replace_if]]. | ||
+ | |||
+ | ==== Beispiel ==== | ||
+ | <code cpp replace_copy.cpp> | ||
+ | #include < | ||
+ | #include < | ||
+ | #include < | ||
+ | #include < | ||
+ | |||
+ | int main() | ||
+ | { | ||
+ | std::string s = " | ||
+ | std::string t; | ||
+ | std::cout << s << ' | ||
+ | |||
+ | std:: | ||
+ | |||
+ | std::cout << t << ' | ||
+ | } | ||
+ | </ | ||
kennen/lib/replace_copy.txt · Zuletzt geändert: 2023-10-14 11:53 von rrichter