##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::filesystem::path::empty

From cppreference.com
< cpp‎ | experimental‎ | fs‎ | path

bool empty() const; |  | (filesystem TS)

Checks if the path is empty.

### [edit] Parameters

(none)

### [edit] Return value

true if the path is empty, false otherwise.

### [edit] Exceptions

`noexcept` specification:
noexcept

### [edit] See also

has_root_path has_root_name has_root_directory has_relative_path has_parent_path has_filename has_stem has_extension | checks if the corresponding path element is not empty (public member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/fs/path/empty&oldid=68593"
Category:

- unconditionally noexcept