Bibliothèque fonctionnelle C ++ - Swap

La description

Il échange les objets appelables stockés de * this et autres.

Déclaration

Voici la déclaration pour std :: function :: swap.

void swap( function& other );

C ++ 11

void swap( function& other );

Paramètres

other - C'est un wrapper de fonction avec lequel échanger l'objet appelable stocké.

Valeur de retour

aucun

Exceptions

No-noexcept - cette fonction membre ne lève jamais d'exceptions.