◐ Shell
clean mode source ↗

std::filesystem::path::has_root_path, std::filesystem::path::has_root_name, std::filesystem::path::has_root_directory, std::filesystem::path::has_relative_path, std::filesystem::path::has_parent_path, std::filesystem::path::has_filename, std::filesystem::path::has_stem, std::filesystem::path::has_extension

提供: cppreference.com

<tbody> </tbody>

bool has_root_path() const;

(1) (C++17以上)

bool has_root_name() const;

(2) (C++17以上)

bool has_root_directory() const;

(3) (C++17以上)

bool has_relative_path() const;

(4) (C++17以上)

bool has_parent_path() const;

(5) (C++17以上)

bool has_filename() const;

(6) (C++17以上)

bool has_stem() const;

(7) (C++17以上)

bool has_extension() const;

(8) (C++17以上)

パスに対応するパス要素が含まれているかどうか調べます。

引数

(なし)

戻り値

対応するパス部分が空でなければ true、そうでなければ false

例外

(なし)

関連項目