[fs.op.read.symlink] (original) (raw)
31 Input/output library [input.output]
31.12 File systems [filesystems]
31.12.13 Filesystem operation functions [fs.op.funcs]
31.12.13.29 Read symlink [fs.op.read.symlink]
path filesystem::read_symlink(const path& p); path filesystem::read_symlink(const path& p, error_code& ec);
Returns: If p resolves to a symbolic link, a path object containing the contents of that symbolic link.
The signature with argument ec returns path() if an error occurs.
[Note 1:
It is an error if p does not resolve to a symbolic link.
— _end note_]