◐ Shell
clean mode source ↗

std::valarray::max — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Calcule la valeur maximale des éléments .

Original:

Computes the maximum value of the elements.

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

S'il n'y a pas d'éléments, le comportement est indéfini .

Original:

If there are no elements, the behavior is undefined.

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

La fonction peut être utilisée uniquement si operator< est défini pour le type T .

Original:

The function can be used only if operator< is defined for type T.

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

Paramètres

(Aucun)

Original:

(none)

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

Retourne la valeur

Le maximum d'éléments .

Original:

The maximum of the elements.

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

Exemple

Voir aussi

retourne le plus petit élément

Original:

returns the smallest element

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


(fonction membre publique) [edit]