std::valarray::valarray
De cppreference.com
[] |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody> valarray(); |
(1) | |
explicit valarray( size_t count ); |
(2) | |
valarray( const T& val, size_t count ); |
(3) | |
valarray( const T* vals, size_t count ); |
(4) | |
valarray( const valarray& other ); |
(5) | |
valarray( valarray&& other ); |
(6) | (depuis C++11) |
valarray( const std::slice_array<T>& ); |
(7) | |
valarray( const std::gslice_array<T>& ); |
(8) | |
valarray( const std::mask_array<T>& ); |
(9) | |
valarray( const std::indirect_array<T>& ); |
(10) | |
valarray( std::initializer_list<T> il ); |
(11) | (depuis C++11) |
Construit nouveau tableau numrique provenant de diverses sources .
Original:
Constructs new numeric array from various sources.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
1)
Constructeur par dfaut. Construit un tableau vide numrique .
Original:
Default constructor. Constructs an empty numeric array.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
Construit un tableau numrique avec des copies
count d'lments par dfaut initialiss .Original:
Constructs a numeric array with
count copies of default-initialized elements.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
3)
Construit un tableau numrique avec des copies de
count val ou *val respectivement .Original:
Constructs a numeric array with
count copies of val or *val respectively.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
4)
Construit un tableau numrique avec des copies des valeurs
count partir d'un tableau point par vals. Si ce tableau contient moins de valeurs count, le comportement est indfini .Original:
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.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
5)
Copiez constructeur. Construit le tableau numrique avec la copie du contenu de
other .Original:
Copy constructor. Constructs the numeric array with the copy of the contents of
other.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
6)
Dplacez constructeur. Construit le rcipient avec le contenu de
other utilisant une smantique de dplacement .Original:
Move constructor. Constructs the container with the contents of
other using move semantics.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
| This section is incomplete |
11)
Construit le tableau numrique avec le contenu de la liste d'initialisation
il . Original:
Constructs the numeric array with the contents of the initializer list
il. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Paramtres
| count | - | le nombre d'lments de construction
Original: the number of elements to construct The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||
| val | - | la valeur d'initialisation avec les lments
Original: the value to initialize the elements with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||
| other | - | un autre tableau numrique utiliser comme source pour initialiser le contenu
Original: another numeric array to use as source to initialize the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.
| ||
| il | - | initialiseur pour initialiser la liste des lments avec
Original: initializer list to initialize the elements with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Exceptions
1-5)
(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.
You can help to correct and verify the translation. Click here for instructions.
6)
7-11)
(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.
You can help to correct and verify the translation. Click here for instructions.