std::filesystem::file_status:: file_status
From cppreference.net
<
cpp
|
filesystem
|
file status
|
file_status
(
)
noexcept
:
file_status
(
std::
filesystem
::
file_type
::
none
)
{
}
|
(1) | (C++17 起) |
|
file_status
(
const
file_status
&
)
noexcept
=
default
;
|
(2) | (C++17 起) |
|
file_status
(
file_status
&&
)
noexcept
=
default
;
|
(3) | (C++17 起) |
|
explicit
file_status
(
std::
filesystem
::
file_type
type,
|
(4) | (C++17 起) |
构造一个新的
file_status
对象。
2,3)
复制与移动构造函数被设为默认。
4)
使用
type
作为类型和
permissions
作为权限来初始化文件状态对象。
参数
| type | - | 文件状态类型 |
| permissions | - | 文件状态权限 |
示例
|
本节内容不完整
原因:缺少示例 |