cppreference.com
アカウント作成
ログイン
名前空間
ページ
ノート
変種
表示
表示
編集
履歴
操作
std::experimental::filesystem::
swap
(std::experimental::filesystem::path)
From cppreference.com
<
cpp
|
experimental
|
fs
|
path
C++
コンパイラサポート
フリースタンディングとホスト
言語
標準ライブラリ
標準ライブラリヘッダー
名前付き要件
機能テストマクロ
(C++20)
言語サポートライブラリ
コンセプトライブラリ
(C++20)
診断ライブラリ
メモリ管理ライブラリ
メタプログラミングライブラリ
(C++11)
汎用ユーティリティライブラリ
コンテナライブラリ
イテレータライブラリ
Rangesライブラリ
(C++20)
アルゴリズムライブラリ
文字列ライブラリ
テキスト処理ライブラリ
数値ライブラリ
日付と時刻ライブラリ
入出力ライブラリ
ファイルシステムライブラリ
(C++17)
並行サポートライブラリ
(C++11)
実行制御ライブラリ
(C++26)
Technical specifications (技術仕様)
シンボルインデックス
外部ライブラリ
[編集]
実験的
Technical Specification
ファイルシステムライブラリ
(filesystem TS)
ライブラリ基本
(library fundamentals TS)
ライブラリ基本TS v2
(library fundamentals TS v2)
ライブラリ基本 3
(library fundamentals TS v3)
並列化拡張
(parallelism TS)
並列化拡張 2
(parallelism TS v2)
並行処理拡張
(concurrency TS)
並行処理拡張 2
(concurrency TS v2)
コンセプト
(concepts TS)
Ranges
(ranges TS)
リフレクション
(reflection TS)
数学特殊関数
(special functions TR)
実験的 (非TS)
パターンマッチ
線形代数
std::execution
契約プログラミング
2Dグラフィックス
[編集]
ファイルシステムライブラリ
クラス
filesystem::path
filesystem::filesystem_error
filesystem::directory_entry
filesystem::directory_iterator
filesystem::recursive_directory_iterator
filesystem::file_status
filesystem::space_info
filesystem::file_type
filesystem::perms
filesystem::copy_options
filesystem::directory_options
filesystem::file_time_type
関数
filesystem::absolute
filesystem::system_complete
filesystem::canonical
filesystem::copy
filesystem::copy_file
filesystem::copy_symlink
filesystem::create_directory
filesystem::create_directories
filesystem::create_hard_link
filesystem::create_symlink
filesystem::create_directory_symlink
filesystem::current_path
filesystem::exists
filesystem::equivalent
filesystem::file_size
filesystem::hard_link_count
filesystem::last_write_time
filesystem::permissions
filesystem::read_symlink
filesystem::remove
filesystem::remove_all
filesystem::rename
filesystem::resize_file
filesystem::space
filesystem::status
filesystem::symlink_status
filesystem::temp_directory_path
ファイル種別
filesystem::is_block_file
filesystem::is_character_file
filesystem::is_directory
filesystem::is_empty
filesystem::status_known
filesystem::is_fifo
filesystem::is_other
filesystem::is_regular_file
filesystem::is_socket
filesystem::is_symlink
[編集]
path
メンバ関数
path::path
path::~path
path::operator=
path::assign
path::append
operator /=
path::concat
operator +=
path::clear
path::make_preferred
path::remove_filename
path::replace_filename
path::replace_extension
path::swap
path::compare
path::c_str
path::native
operator string_type
path::string
path::u8string
path::u16string
path::u32string
path::wstring
path::generic_string
path::generic_u8string
path::generic_u16string
path::generic_u32string
path::generic_wstring
path::begin
path::end
パスの分解
path::root_name
path::root_directory
path::root_path
path::relative_path
path::parent_path
path::filename
path::stem
path::extension
path::empty
path::has_root_path
path::has_root_name
path::has_root_directory
path::has_relative_path
path::has_parent_path
path::has_filename
path::has_stem
path::has_extension
path::is_absolute
path::is_relative
非メンバ関数
swap(path)
operator==
operator!=
operator<
operator<=
operator>
operator>=
operator/
operator<<
operator>>
u8path
[編集]
void
swap
(
path
&
lhs, path
&
rhs
)
;
(filesystem TS)
lhs
の状態と
rhs
の状態を交換します。実質的に
lhs.
swap
(
rhs
)
を呼び出します。
目次
1
引数
2
戻り値
3
例外
4
関連項目
[
編集
]
パラメータ
lhs, rhs
-
交換する状態を持つパス
[
編集
]
戻り値
(なし)
[
編集
]
例外
noexcept
指定:
noexcept
[
編集
]
関連項目
swap
2つのパスをスワップします。
(public member function)
[編集]
カテゴリ
:
インデックスなしのページ
無条件に noexcept
隠しカテゴリ
未レビューの無条件noexceptテンプレートがあるページ
未レビューのnoexceptテンプレートがあるページ
English
日本語
中文(简体)
中文(繁體)