std::filesystem::file_status::operator=

file_status& operator=( const file_status& other ) noexcept = default;
(1) (C++17 起)
file_status& operator=( file_status&& other ) noexcept = default;
(2) (C++17 起)

以另一个 file_status 对象复制或移动赋值。

参数

other - 要赋值的另一个 file_status 对象

返回值

*this

示例

版本历史

  • (当前 | 先前 2017年9月29日 (五) 09:10Fruderica讨论 | 贡献 . . (570字节) (-20). . (merge noexcept) (撤销)
  • 当前 | 先前) 2017年4月30日 (日) 09:49Fruderica讨论 | 贡献. . (590字节) (+590). . (以“{{cpp/filesystem/file_status/title|operator{{=}}}} {{cpp/filesystem/file_status/navbar}} {{dcl begin}} {{dcl | since=c++17 | num=1 | 1= file_status& operator=( const...”为内容创建页面)