Export (0) Print
Expand All

is_symlink Function

Indicates whether the specified file_status or file name represents a symbolic link.

inline bool is_symlink(
   file_status Stat
);
template<class Path>
inline bool is_symlink(
   const Path& Pval
);

Stat

A file_status object.

Pval

A Path object. Path can be either a basic_path or a type that is derived from basic_path.

The first function returns Stat.type() == symlink_file. The second function returns is_symlink(status(Pval)).

Header: filesystem

Namespace: std::tr2::sys

Show:
© 2014 Microsoft