◐ Shell
clean mode source ↗

std::valarray::max - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Calcula o valor máximo dos elementos.

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.

Se não há elementos, o comportamento é indefinido.

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.

A função pode ser usada somente se operator< está definido para o tipo 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.

Parâmetros

(Nenhum)

Original:

(none)

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

Valor de retorno

O valor máximo dos elementos.

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.

Exemplo

Veja também

retorna o elemento mais pequeno

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.


(função pública membro) [edit]