std::valarray::valarray - cppreference.com
De cppreference.com
|
|
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate. La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
|
|
(1) | |
|
|
(2) | |
|
|
(3) | |
|
|
(4) | |
|
|
(5) | |
|
|
(6) | (desde C++11) |
|
|
(7) | |
|
|
(8) | |
|
|
(9) | |
|
|
(10) | |
|
|
(11) | (desde C++11) |
Constructs new numeric array from various sources.
1) Default constructor. Constructs an empty numeric array.
2) Constructs a numeric array with count copies of default-initialized elements.
3) Constructs a numeric array with count copies of val or *val respectively.
4) Constructs a numeric array with copies of count values from an array pointed to by vals. If this array contains less than count values, the behavior is undefined.
5) Copy constructor. Constructs the numeric array with the copy of the contents of other.
6) Move constructor. Constructs the container with the contents of other using move semantics.
11) Constructs the numeric array with the contents of the initializer list il.
Parámetros
| count | - | the number of elements to construct |
| val | - | the value to initialize the elements with |
| other | - | another numeric array to use as source to initialize the contents |
| il | - | initializer list to initialize the elements with |
Excepciones
1-5)
(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
7-11)
(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.