27 Input/output library [input.output]

27.11 File systems [filesystems]

27.11.14 Filesystem operation functions [fs.op.funcs]

27.11.14.24 Is symlink [fs.op.is_symlink]

bool is_symlink(file_status s) noexcept;
Returns: s.type() == file_­type​::​symlink.
bool is_symlink(const path& p); bool is_symlink(const path& p, error_code& ec) noexcept;
Returns: is_­symlink(symlink_­status(p)) or is_­symlink(symlink_­status(p, ec)), respectively.
The signature with argument ec returns false if an error occurs.
Throws: As specified in [fs.err.report].