◐ Shell
clean mode source ↗

Bibliothèque algorithmique — cppreference.com

La bibliothèque algorithmique définit les fonctions pour des opérations sur des plages d'éléments (par exemple, recherche, tri, comptage, manipulation). Notez qu'une plage est définie comme [premier, dernier), où dernier se réfère à l'élément précédant le dernier élément à inspecter ou modifier.

Non-modification de la séquence des opérations

Original:

Non-modifying sequence operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <algorithm>

(C++11)
(C++11)
(C++11)

vérifie si un prédicat est true pour tous, un ou aucun des éléments dans une plage

Original:

checks if a predicate is true for all, any or none of the elements in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

applique une fonction à une série d'éléments

Original:

applies a function to a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

retourne le nombre d'éléments satisfaisant à des critères spécifiques

Original:

returns the number of elements satisfying specific criteria

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

trouve la première position dans laquelle deux plages différentes

Original:

finds the first position where two ranges differ

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

détermine si deux ensembles d'éléments sont les mêmes

Original:

determines if two sets of elements are the same

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

trouve le premier élément répondant à des critères spécifiques

Original:

finds the first element satisfying specific criteria

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

trouve la dernière séquence d'éléments dans une certaine plage

Original:

finds the last sequence of elements in a certain range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]
searches for any one of a set of elements
(fonction générique) [edit]

trouve deux identiques (ou une autre relation) des éléments adjacents les uns aux autres

Original:

finds two identical (or some other relationship) items adjacent to each other

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

recherches pour une série d'éléments

Original:

searches for a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Recherches pour un nombre de copies consécutives d'un élément dans une gamme

Original:

searches for a number consecutive copies of an element in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Modification de la séquence des opérations

Original:

Modifying sequence operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <algorithm>

(C++11)

Copie une série d'éléments vers un nouvel emplacement

Original:

copies a range of elements to a new location

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

(C++11)

copie un certain nombre d'éléments vers un nouvel emplacement

Original:

copies a number of elements to a new location

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

copie une plage d'éléments dans l'ordre inverse

Original:

copies a range of elements in backwards order

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

(C++11)

se déplace d'une gamme d'éléments vers un nouvel emplacement

Original:

moves a range of elements to a new location

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

se déplace d'une gamme d'éléments vers un nouvel emplacement dans l'ordre inverse

Original:

moves a range of elements to a new location in backwards order

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

attribue un ensemble d'éléments d'une certaine valeur

Original:

assigns a range of elements a certain value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

assigne une valeur à un nombre d'éléments

Original:

assigns a value to a number of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

applique une fonction à une série d'éléments

Original:

applies a function to a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

enregistre le résultat d'une fonction dans une plage

Original:

saves the result of a function in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

enregistre le résultat de l'application de N d'une fonction

Original:

saves the result of N applications of a function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

supprime des éléments répondant à des critères spécifiques

Original:

removes elements satisfying specific criteria

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Copie une série d'éléments en omettant ceux qui satisfont à certains critères

Original:

copies a range of elements omitting those that satisfy specific criteria

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

et remplace les valeurs satisfaisant à des critères spécifiques à une autre valeur

Original:

replaces all values satisfying specific criteria with another value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

copie d'une plage, le remplacement des éléments satisfaisant à des critères spécifiques à une autre valeur

Original:

copies a range, replacing elements satisfying specific criteria with another value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

échange les valeurs de deux objets

Original:

swaps the values of two objects

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

swaps de deux gammes d'éléments

Original:

swaps two ranges of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

permute les éléments pointés par deux itérateurs

Original:

swaps the elements pointed to by two iterators

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

inverse les éléments de commande dans une gamme

Original:

reverses the order elements in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

crée une copie d'une plage qui est inversé

Original:

creates a copy of a range that is reversed

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

tourner l'ordre des éléments dans une gamme

Original:

rotates the order of elements in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

les copies et les faire pivoter une gamme d'éléments

Original:

copies and rotate a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

au hasard de nouvelles commandes éléments dans une plage

Original:

randomly re-orders elements in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

supprime les doublons successifs dans une plage

Original:

removes consecutive duplicate elements in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

crée une copie de quelque plage d'éléments que contient pas de doublons consécutifs

Original:

creates a copy of some range of elements that contains no consecutive duplicates

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Des opérations de partitionnement

Original:

Partitioning operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

détermine si l'intervalle est divisé par le prédicat donné

Original:

determines if the range is partitioned by the given predicate

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

divise une série d'éléments en deux groupes

Original:

divides a range of elements into two groups

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]
copies a range dividing the elements into two groups
(fonction générique) [edit]

divise les éléments en deux groupes, tout en préservant leur ordre relatif

Original:

divides elements into two groups while preserving their relative order

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Pour localiser le point de partage d'une gamme partitionné

Original:

locates the partition point of a partitioned range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Opérations de tri (sur les gammes triés)

Original:

Sorting operations (on sorted ranges)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <algorithm>

(C++11)

vérifie si une plage est triée dans l'ordre croissant

Original:

checks whether a range is sorted into ascending order

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

trouve le plus grand sous-gamme triés

Original:

finds the largest sorted subrange

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

trie une plage dans l'ordre ascendant

Original:

sorts a range into ascending order

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

trie les n premiers éléments d'une gamme

Original:

sorts the first N elements of a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

copies et partiellement Trie une plage d'éléments

Original:

copies and partially sorts a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Trie une plage d'éléments, tout en préservant l'ordre entre des éléments égaux

Original:

sorts a range of elements while preserving order between equal elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

partiellement trie la plage donnée en s'assurant qu'il est partitionné par l'élément donné

Original:

partially sorts the given range making sure that it is partitioned by the given element

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Opérations binaires de recherche (sur les gammes triés)

Original:

Binary search operations (on sorted ranges)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <algorithm>

retourne un itérateur sur le premier élément' pas moins que la valeur donnée

Original:

returns an iterator to the first element not less than the given value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

retourne un itérateur sur le premier élément' plus grande qu'une certaine valeur

Original:

returns an iterator to the first element greater than a certain value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

détermine si un élément existe dans une certaine plage

Original:

determines if an element exists in a certain range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

rendements varient d'éléments correspondant à une clé spécifique

Original:

returns range of elements matching a specific key

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Définir les opérations (sur les gammes triés)

Original:

Set operations (on sorted ranges)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <algorithm>

fusionne deux gammes triés

Original:

merges two sorted ranges

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

fusionne deux gammes commandés sur place

Original:

merges two ordered ranges in-place

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

retourne vrai si un ensemble est un sous-ensemble de l'autre

Original:

returns true if one set is a subset of another

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

calcule la différence entre deux ensembles

Original:

computes the difference between two sets

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

calcule l'intersection des deux ensembles

Original:

computes the intersection of two sets

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

calcule la différence symétrique entre deux ensembles

Original:

computes the symmetric difference between two sets

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

calcule l'union de deux ensembles

Original:

computes the union of two sets

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Opérations Heap

Original:

Heap operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <algorithm>

checks if the given range is a heap
(fonction générique) [edit]

trouve le plus grand sous-plage qui est tas

Original:

finds the largest subrange that is heap

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

crée un segment de mémoire sur un ensemble d'éléments

Original:

creates a heap out of a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

ajoute un élément à un tas

Original:

adds an element to a heap

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

supprime le plus grand élément à partir d'un tas

Original:

removes the largest element from a heap

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

transforme un tas dans une gamme d'éléments triés

Original:

turns a heap into a sorted range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Minimum / maximum de fonctionnement

Original:

Minimum/maximum operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <algorithm>

retourne le plus grand des deux éléments

Original:

returns the larger of two elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

retourne le plus grand élément dans une plage

Original:

returns the largest element in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

retourne le plus petit des deux éléments

Original:

returns the smaller of two elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

retourne le plus petit élément dans une plage

Original:

returns the smallest element in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

(C++11)

renvoie le plus grand et le plus petit des deux éléments

Original:

returns the larger and the smaller of two elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

retourne le plus petit élément et le plus important dans une gamme

Original:

returns the smallest and the largest element in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

renvoie vrai si une plage est lexicographiquement inférieur à un autre

Original:

returns true if one range is lexicographically less than another

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]
determines if a sequence is a permutation of another sequence
(fonction générique) [edit]

génère la plus grande lexicographique prochaine permutation d'un ensemble d'éléments

Original:

generates the next greater lexicographic permutation of a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

lexicographique génère le plus petit côté d'une permutation série d'éléments

Original:

generates the next smaller lexicographic permutation of a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Opérations numériques

Original:

Numeric operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <numeric>

(C++11)

remplit une série de tranches successives de la valeur de départ

Original:

fills a range with successive increments of the starting value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

résume un ensemble d'éléments

Original:

sums up a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

calcule le produit scalaire de deux gammes d'éléments

Original:

computes the inner product of two ranges of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

calcule les différences entre les éléments adjacents dans une gamme

Original:

computes the differences between adjacent elements in a range

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

calcule la somme partielle d'une série d'éléments

Original:

computes the partial sum of a range of elements

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction générique) [edit]

Bibliothèque C

Original:

C library

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <cstdlib>

Trie une plage d'éléments de type indéterminé

Original:

sorts a range of elements with unspecified type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction) [edit]

recherche un tableau pour un élément de type non spécifié

Original:

searches an array for an element of unspecified type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction) [edit]