命名空间
变体
操作

std::experimental::filesystem::path::swap

来自 cppreference.cn
< cpp‎ | experimental‎ | fs‎ | path
 
 
实验性的
技术规范
文件系统库 (filesystem TS)
库基础 (library fundamentals TS)
库基础 2 (library fundamentals TS v2)
库基础 3 (library fundamentals TS v3)
并行扩展 (parallelism TS)
并行扩展 2 (parallelism TS v2)
并发扩展 (concurrency TS)
并发扩展 2 (concurrency TS v2)
概念 (concepts TS)
范围 (ranges TS)
反射 (reflection TS)
数学特殊函数 (special functions TR)
实验性非TS
模式匹配
线性代数
std::execution
契约
2D 图形
 
 
 
void swap( path& other );
(1) (filesystem TS)

交换 *this 和 other 的内容。

内容

[编辑] 参数

other - 另一个路径,用于交换内容

[编辑] 返回值

(无)

[编辑] 异常

noexcept 规范:  
noexcept
  

[编辑] 复杂度

常量。

[编辑] 参见