std::filesystem::file_status::file_status

From cppreference.com
 
 
 
 
file_status( const file_status& ) = default;
(1) (since C++17)
file_status( file_status&& ) = default;
(2) (since C++17)
explicit file_status(

  std::filesystem::file_type type = std::filesystem::file_type::none,

  std::filesystem::perms permissions = std::filesystem::perms::unknown);
(3) (since C++17)

Constructs a new file_status object.

1) Default copy constructor.
2) Default move constructor.
3) Initializes the file status object with type as type and permissions as permissions.

[edit] Parameters

[edit] Exceptions

noexcept specification:  
noexcept
  

[edit] Example