std::filesy...:file_status(3)
β¨ NAME β¨
okay bestie, welcome to the std::filesy...:file_status(3) page π
β and yes, the manual name near the top is C++ Standard Libary (that spelling is literally in the header, no cap). This is all about std::filesystem::file_status::file_status, the constructors for a file_status object, and itβs giving very C++17 main-character energy π.
π Synopsis π
hereβs the synopsis, exactly as written, because we do not play with signatures:
file_status() noexcept :
(1) (since C++17)
file_status(std::filesystem::file_type::none) {}
file_status( const file_status& ) noexcept = default;
(2) (since C++17)
file_status( file_status&& ) noexcept = default;
(3) (since C++17)
explicit file_status(
std::filesystem::file_type type,
(4) (since C++17)
std::filesystem::perms permissions =
std::filesystem::perms::unknown ) noexcept;
Constructs a new file_status object. periodt π
(1)since C++17 β default constructor that calls(4)withstd::filesystem::file_type::none.(2),(3)since C++17 β copy and move constructors are defaulted.(4)since C++17 β explicit constructor; initializes the file status object withtypeas type andpermissionsas permissions.
πΈ Parameters πΈ
typeβ type of the file statuspermissionsβ permissions of the file status
π Example π
bestie, this section is incomplete π
Reason: no example
π·οΈ Category π·οΈ
Todo no example
okay thatβs the whole page, bestie π«Ά source/version and date: http://cppreference.com, 2024.06.10 Β· page title: std::filesy...:file_status(3) πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms