Partager via


swap, fonction (STL)

Echange les noms de fichiers stockés de deux objets basic_path.

template<class String,
   class Traits>
inline void swap(
   basic_path<String,
   Traits>& Left,
   basic_path<String,
   Traits>& Right
);

Paramètres

  • Left
    Objet gauche basic_path.

  • Right
    Objet droit basic_path.

Configuration requise

En-tête : filesystem

Espace de noms : std::tr2::sys

Voir aussi

Référence

<filesystem>

basic_path::swap, méthode

Autres ressources

Fichiers d'en-tête de bibliothèque standard C++