std::experimental::filesystem::path::empty - cppreference.com

##### 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_pathhas_root_namehas_root_directoryhas_relative_pathhas_parent_pathhas_filenamehas_stemhas_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=91585"
Category:

- unconditionally noexcept

Hidden categories:

- Pages with unreviewed unconditional noexcept template
- Pages with unreviewed noexcept template