std::filesystem::file_status::type
std::filesystem::file_type type() const noexcept; | (1) | (since C++17) |
void type( std::filesystem::file_type type ) noexcept; | (2) | (since C++17) |
Доступ к информации о типе файла.
1) Возвращает информацию о типе файла.
2) Устанавливает тип файла в
type.Параметры
| type | - | тип файла, который нужно установить |
Возвращаемое значение
1) Информация о типе файла.
2) (нет)
Пример
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/filesystem/file_status/type