std::filesystem::is_other
Min standard notice:
Header: <filesystem>
Checks if the given file status or path corresponds to a file of type other type. That is, the file exists, but is neither regular file, nor directory nor a symlink.
# Declarations
bool is_other( std::filesystem::file_status s ) noexcept;
(since C++17)
bool is_other( const std::filesystem::path& p );
(since C++17)
bool is_other( const std::filesystem::path& p, std::error_code& ec ) noexcept;
(since C++17)
# Parameters
s: file status to checkp: path to examineec: error code to store the error status to
# Return value
true if the file indicated by p or if the type indicated s refers to a file that is not regular file, directory, or a symlink, false otherwise. The non-throwing overload returns false if an error occurs.
# Example
This section is incompleteReason: no example