30 Input/output library [input.output]

30.10 File systems [filesystems]

30.10.15 Filesystem operation functions [fs.op.funcs]

30.10.15.21 Is other [fs.op.is_other]

bool is_other(file_status s) noexcept;
Returns: exists(s) && !is_­regular_­file(s) && !is_­directory(s) && !is_­symlink(s).
bool is_other(const path& p); bool is_other(const path& p, error_code& ec) noexcept;
Returns: is_­other(status(p)) or is_­other(status(p, ec)), respectively.
The signature with argument ec returns false if an error occurs.
Throws: As specified in [fs.err.report].