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
Min standard notice:
Checks whether the path contains the corresponding path element.
# Declarations
bool has_root_path() const;
(since C++17)
bool has_root_name() const;
(since C++17)
bool has_root_directory() const;
(since C++17)
bool has_relative_path() const;
(since C++17)
bool has_parent_path() const;
(since C++17)
bool has_filename() const;
(since C++17)
bool has_stem() const;
(since C++17)
bool has_extension() const;
(since C++17)
# Return value
true if the corresponding path component is not empty, false otherwise.
# Example
This section is incompleteReason: no example