Espaces de noms
Variantes
Affichages
Actions

std::tuple::operator=

De cppreference.com
< cpp‎ | utility‎ | tuple

 
 
 
std::tuple
Les fonctions membres
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
tuple::tuple
tuple::operator=
tuple::swap
Tiers fonctions
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
make_tuple
tie
forward_as_tuple
None
operator=
operator!=
operator<
operator<=
operator>
operator>=
std::swap
get
Classes d'aide
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
tuple_size
tuple_element
uses_allocator
ignore
 
tuple& operator=( const tuple& other );
(1) (depuis C++11)
tuple& operator=( tuple&& other );
(2) (depuis C++11)
template< class... UTypes >
tuple& operator=( const tuple<UTypes...>& other );
(3) (depuis C++11)
template< class... UTypes >
tuple& operator=( tuple<UTypes...>&& other );
(4) (depuis C++11)
template< class U1, class U2 >
tuple& operator=( const pair<U1,U2>& p );
(5) (depuis C++11)
template< class U1, class U2 >
tuple& operator=( pair<U1,U2>&& p );
(6) (depuis C++11)
Remplace le contenu de l'uplet avec le contenu d'un n-uplet ou une paire .
Original:
Replaces the contents of the tuple with the contents of another tuple or a pair.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Copiez opérateur d'affectation. Remplace chaque élément d'une copie de l'élément correspondant de other .
Original:
Copy assignment operator. Replaces each element with a copy of the corresponding element of other.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Déplacez opérateur d'affectation. Remplace chaque élément avec l'élément correspondant de other aide de la sémantique de déplacement .
Original:
Move assignment operator. Replaces each element with the corresponding element 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.
3)
Pour tous i, attribue à std::get<i>(other) std::get<i>(*this) .
Original:
For all i, assigns std::get<i>(other) to std::get<i>(*this).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
4)
Pour tous i, attribue à std::forward<Ui>(std::get<i>(other)) std::get<i>(*this) .
Original:
For all i, assigns std::forward<Ui>(std::get<i>(other)) to std::get<i>(*this).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
5)
Assigne p.first au premier élément de *this et p.second au second élément de *this .
Original:
Assigns p.first to the first element of *this and p.second to the second element of *this.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
6)
Assigne std::forward<U1>(p.first) au premier élément de *this et std::forward<U2>(p.second) au second élément de *this .
Original:
Assigns std::forward<U1>(p.first) to the first element of *this and std::forward<U2>(p.second) to the second element of *this.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Sommaire

[modifier] Paramètres

other -
tuple de remplacer le contenu de ce n-uplet
Original:
tuple to replace the contents of this tuple
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
p -
Combinaison de remplacer le contenu de ce 2-tuple
Original:
pair to replace the contents of this 2-tuple
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Retourne la valeur

*this

[modifier] Exceptions

1)
(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.
2)
noexcept specification:   (depuis C++11)
noexcept(noexcept(

    is_nothrow_move_assignable<T0>::value &&
    is_nothrow_move_assignable<T1>::value &&
    is_nothrow_move_assignable<T2>::value &&
    ...

)
3-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.
6)
noexcept specification:  
noexcept
   (depuis C++11)

[modifier] Exemple

[modifier] Voir aussi