std::get(std::array)
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> template<size_t I, class T, size_t N > T& get( array<T,N>& a ); |
(1) | (depuis C++11) |
template<size_t I, class T, size_t N > T&& get( array<T,N>&& a ); |
(2) | (depuis C++11) |
template<size_t I, class T, size_t N > const T& get( const array<T,N>& a ); |
(3) | (depuis C++11) |
Extraits de l'élément element
Ith à partir du tableau . Original:
Extracts the
Ith element element from the 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.
I doit être une valeur entière dans [0, N) gamme. Ceci est renforcé lors de la compilation plutôt que at() ou operator[]() .Original:
I must be an integer value in range [0, N). This is enforced at compile time as opposed to at() or operator[]().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.
Paramètres
| a | - | tableau dont le contenu à extraire Original: array whose contents to extract The text has been machine-translated via |