Espaces de noms
Variantes
Affichages
Actions

std::pair::operator=

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

 
 
 
std::pair
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.
pair::pair
pair::operator=
pair::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_pair
operator=
operator!=
operator<
operator<=
operator>
operator>=
std::swap
get (C++11)
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 (C++11)
tuple_element (C++11)
 
pair& operator=( const pair& other );
(1)
template< class U1, class U2 >
pair& operator=( const pair<U1,U2>& other );
(2)
pair& operator=( pair&& other );
(3) (depuis C++11)
template< class U1, class U2 >
pair& operator=( pair<U1,U2>&& other );
(4) (depuis C++11)
Remplace le contenu de la paire .
Original:
Replaces the contents of the 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 le contenu d'une copie du contenu des autres .
Original:
Copy assignment operator. Replaces the contents with a 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.
2)
Assigne other.first à first et other.second à second
Original:
Assigns other.first to first and other.second to second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Déplacez opérateur d'affectation. Remplace le contenu avec ceux de other en utilisant la sémantique de déplacement .
Original:
Move assignment operator. Replaces the contents with those 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.
4)
Assigne std::forward<U1>(p.first) à first et std::forward<U2>(p.second) à second .
Original:
Assigns std::forward<U1>(p.first) to first and std::forward<U2>(p.second) to second.
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 -
paire de valeurs pour remplacer le contenu de cette paire
Original:
pair of values to replace the contents of this pair
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-2)
(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.
3)
noexcept specification:   (depuis C++11)
noexcept(noexcept(

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

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

[modifier] Exemple

[modifier] Voir aussi