Namespaces
Variants
Actions

std::filesystem::file_status::type

From cppreference.com
 
C++
 
Filesystem library
Classes
Functions
File types
 
std::filesystem::file_status
Member functions
file_status::type
Non-member functions
(C++20)
 
std::filesystem::file_type type() const noexcept;
(1) (since C++17)
void type( std::filesystem::file_type type ) noexcept;
(2) (since C++17)

Accesses the file type information.

1) Returns file type information.
2) Sets file type to type.

[edit] Parameters

type - file type to set to

[edit] Return value

1) File type information.
2) (none)

[edit] Example

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant