Share via


is_other 関数

指定 file_status またはファイル名が通常のファイル、ディレクトリ、またはシンボリック リンクではなく、既存のファイルを表すかどうかを示します。

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

パラメーター

  • Stat
    file_status オブジェクト。

  • Pval
    Path オブジェクト。 Path は、basic_path または basic_path から派生した型になります。

戻り値

最初の関数の戻り値の exists() && !is_regular_file(Stat) && !is_directory(Stat) && !is_symlink(Stat)。

2 番目の関数の戻り値 is_other(status(Pval))。

必要条件

ヘッダー: filesystem

名前空間: std::tr2::sys

参照

関連項目

<filesystem>

file_type 列挙型

status 関数

exists 関数

is_regular_file 関数

is_directory 関数

is_symlink 関数

その他の技術情報

C++ 標準ライブラリのヘッダー ファイル