is_other Function

Indicates whether the specified file_status or file name represents an existing file that is not a regular file, a directory, or a symbolic link.

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

Parameters

  • 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.

Return Value

The first function returns exists() && !is_regular_file(Stat) && !is_directory(Stat) && !is_symlink(Stat).

The second function returns is_other(status(Pval)).

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

<filesystem>

file_type Enumeration

status Function

exists Function

is_regular_file Function

is_directory Function

is_symlink Function

Other Resources

Header Files