◐ Shell
clean mode source ↗

std::begin(std::valarray) - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

template< class T > /*unspecified1*/ begin( valarray<T>& v );

(1) (desde C++11)

template< class T > /*unspecified2*/ begin( const valarray<T>& v );

(2) (desde C++11)

A especialização da std::begin para valarray retorna um iterador de tipo não especificado referindo-se ao primeiro elemento na matriz numérica.

Original:

The specialization of std::begin for valarray returns an iterator of unspecified type referring to the first element in the numeric array.

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

1)

O tipo de retorno cumpre os requisitos da mutável RandomAccessIterator.

Original:

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

2)

O tipo de retorno cumpre os requisitos da RandomAccessIterator constante.

Original:

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

Parâmetros

v -

uma matriz numérica

Original:

a numeric array

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

Iterador para o primeiro valor da matriz numérica.

Original:

Iterator to the first value in the numeric array.

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

Exceções

(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.

Exemplo

Veja também

std::end especializada

Original:

specializes std::end

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


(modelo de função) [edit]