cpp/algorithm/includes: Unterschied zwischen den Versionen
Aus cppreference.com
(Translated from the English version using Google Translate) |
P12bot (Diskussion | Beiträge) K (Fix previous edit) |
||
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
{{cpp/title|includes}} | {{cpp/title|includes}} | ||
{{cpp/algorithm/navbar}} | {{cpp/algorithm/navbar}} | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{header | algorithm}} |
− | {{ | + | {{| num=1 | |
template< class InputIt1, class InputIt2 > | template< class InputIt1, class InputIt2 > | ||
bool includes( InputIt1 first1, InputIt1 last1, | bool includes( InputIt1 first1, InputIt1 last1, | ||
InputIt2 first2, InputIt2 last2 ); | InputIt2 first2, InputIt2 last2 ); | ||
}} | }} | ||
− | {{ | + | {{| num=2 | |
template< class InputIt1, class InputIt2 > | template< class InputIt1, class InputIt2 > | ||
bool includes( InputIt1 first1, InputIt1 last1, | bool includes( InputIt1 first1, InputIt1 last1, | ||
InputIt2 first2, InputIt2 last2, Compare comp ); | InputIt2 first2, InputIt2 last2, Compare comp ); | ||
}} | }} | ||
− | {{ | + | {{end}} |
{{tr|Versandkosten {{c|true}} wenn jedes Element aus der sortierten Bereich {{tt|[first2, last2)}} wird innerhalb der sortierten Bereich {{tt|[first, last)}} gefunden. Gibt auch {{c|true}} wenn {{tt|[first2, last2)}} ist leer . |Returns {{c|true}} if every element from the sorted range {{tt|[first2, last2)}} is found within the sorted range {{tt|[first, last)}}. Also returns {{c|true}} if {{tt|[first2, last2)}} is empty. }} | {{tr|Versandkosten {{c|true}} wenn jedes Element aus der sortierten Bereich {{tt|[first2, last2)}} wird innerhalb der sortierten Bereich {{tt|[first, last)}} gefunden. Gibt auch {{c|true}} wenn {{tt|[first2, last2)}} ist leer . |Returns {{c|true}} if every element from the sorted range {{tt|[first2, last2)}} is found within the sorted range {{tt|[first, last)}}. Also returns {{c|true}} if {{tt|[first2, last2)}} is empty. }} | ||
Zeile 21: | Zeile 21: | ||
===Parameter=== | ===Parameter=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| first1, last1 |{{tr| die sortierte Palette von Elementen zu untersuchen| the sorted range of elements to examine}}}} |
− | {{ | + | {{| first2, last2 |{{tr| die sortierte Palette von Elementen zu suchen| the sorted range of elements to search for}}}} |
− | {{ | + | {{cmp | comp | p1=InputIt}} |
− | {{ | + | {{hreq}} |
− | {{ | + | {{req concept | InputIt | InputIterator}} |
− | {{ | + | {{end}} |
===Rückgabewert=== | ===Rückgabewert=== | ||
Zeile 117: | Zeile 117: | ||
===Siehe auch=== | ===Siehe auch=== | ||
− | {{ | + | {{begin}} |
− | {{ | + | {{| cpp/algorithm/set_difference}} |
− | {{ | + | {{| cpp/algorithm/search}} |
− | {{ | + | {{end}} |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
[[ru:cpp/algorithm/includes]] | [[ru:cpp/algorithm/includes]] | ||
+ |
Aktuelle Version vom 1. Juli 2013, 19:00 Uhr
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |