Files
2025-10-25 03:02:53 +03:00

1.2 KiB

[fs.op.is.other]

31 Input/output library [input.output]

31.12 File systems [filesystems]

31.12.13 Filesystem operation functions [fs.op.funcs]

31.12.13.22 Is other [fs.op.is.other]

🔗

bool filesystem::is_other(file_status s) noexcept;

1

#

Returns: exists(s) && !is_regular_file(s) && !is_directory(s) && !is_symlink(s).

🔗

bool filesystem::is_other(const path& p); bool filesystem::is_other(const path& p, error_code& ec) noexcept;

2

#

Returns: is_other(status(p)) or is_other(status(p, ec)), respectively.

The signature with argument ec returns false if an error occurs.

3

#

Throws: As specified in [fs.err.report].