11
You can use the read_symlink() function of Version 3:
path read_symlink(const path& p); path read_symlink(const path& p, system::error_code& ec);Returns: If
presolves to a symbolic link, a path object containing the contents of that symbolic link. Otherwise an empty path object.Throws: As specified in Error reporting. [Note: It is an error if p does not resolve to a symbolic link. -- end note]