std::filesystem::path:: swap
From cppreference.net
<
cpp
|
filesystem
|
path
C++
std::filesystem::path
| Member types | ||||||||||||||||||||||||||
| Member constants | ||||||||||||||||||||||||||
| Member functions | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| Path decomposition | ||||||||||||||||||||||||||
| Non-member functions | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| Helper classes | ||||||||||||||||||||||||||
|
void
swap
(
path
&
other
)
noexcept
;
|
(1) | (C++17 이후) |
*
this
와
other
의 내용(네이티브 및 제네릭 형식 모두)을 교환합니다.
목차 |
매개변수
| other | - | 내용을 교환할 다른 경로 |
반환값
(없음)
복잡도
상수.
참고 항목
|
(C++17)
|
std::swap
알고리즘을 특수화함
(함수) |