std::filesystem::file_status::file_status (3) - Linux Manuals
std::filesystem::file_status::file_status: std::filesystem::file_status::file_status
Command to display std::filesystem::file_status::file_status
manual in Linux: $ man 3 std::filesystem::file_status::file_status
NAME
std::filesystem::file_status::file_status - std::filesystem::file_status::file_status
Synopsis
file_status() noexcept : file_status(std::filesystem::file_type::none) { } (1) (since C++17)
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.
1) Default constructor that calls (4) with std::filesystem::file_type::none.
2-3) Copy and move constructors are defaulted.
4) Initializes the file status object with type as type and permissions as permissions.
Parameters
type - type of the file status
permissions - permissions of the file status
Example
This section is incomplete
Reason: no example
Pages related to std::filesystem::file_status::file_status
- std::filesystem::file_status::operator= (3) - std::filesystem::file_status::operator=
- std::filesystem::file_status::permissions (3) - std::filesystem::file_status::permissions
- std::filesystem::file_status::type (3) - std::filesystem::file_status::type
- std::filesystem::file_status (3) - std::filesystem::file_status
- std::filesystem::file_size (3) - std::filesystem::file_size
- std::filesystem::file_time_type (3) - std::filesystem::file_time_type
- std::filesystem::file_type (3) - std::filesystem::file_type
- std::filesystem::filesystem_error (3) - std::filesystem::filesystem_error
- std::filesystem::filesystem_error::filesystem_error (3) - std::filesystem::filesystem_error::filesystem_error
- std::filesystem::filesystem_error::path1,std::filesystem::filesystem_error::path2 (3) - std::filesystem::filesystem_error::path1,std::filesystem::filesystem_error::path2
- std::filesystem::filesystem_error::what (3) - std::filesystem::filesystem_error::what
- std::filesystem::absolute (3) - std::filesystem::absolute
- std::filesystem::begin(directory_iterator),std::filesystem::end(directory_iterator) (3) - std::filesystem::begin(directory_iterator),std::filesystem::end(directory_iterator)
- std::filesystem::begin(recursive_directory_iterator), (3) - std::filesystem::begin(recursive_directory_iterator),
- std::filesystem::begin(recursive_directory_iterator),std::filesystem::end(recursive_directory_iterator) (3) - std::filesystem::begin(recursive_directory_iterator),std::filesystem::end(recursive_directory_iterator)
- std::filesystem::canonical,std::filesystem::weakly_canonical (3) - std::filesystem::canonical,std::filesystem::weakly_canonical
- std::filesystem::copy (3) - std::filesystem::copy
- std::filesystem::copy_file (3) - std::filesystem::copy_file
- std::filesystem::copy_options (3) - std::filesystem::copy_options
- std::filesystem::copy_symlink (3) - std::filesystem::copy_symlink
- std::filesystem::create_directory,std::filesystem::create_directories (3) - std::filesystem::create_directory,std::filesystem::create_directories