Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::filesystem::path::swap

      From cppreference.com
      <cpp‎ |filesystem‎ |path
       
       
      Filesystem library
      Classes
      Functions
      File types
       
      std::filesystem::path
      Member types
      Member constants
      Member functions
      Path decomposition
      Non-member functions
      (until C++20)(until C++20)(until C++20)(until C++20)(until C++20)(C++20)
      Helper classes
       
      void swap( path& other)noexcept;
      (1)(since C++17)

      Swaps the contents (both native and generic format) of*this andother.

      Contents

      [edit]Parameters

      other - another path to exchange the contents with

      [edit]Return value

      (none)

      [edit]Complexity

      Constant.

      [edit]See also

      specializes thestd::swap algorithm
      (function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/filesystem/path/swap&oldid=136611"

      [8]ページ先頭

      ©2009-2025 Movatter.jp