std::experimental::any::empty - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::any::empty

From cppreference.com
< cpp‎ | experimental‎ | any

bool empty() const; |  | (library fundamentals TS)

Checks whether the object contains a value.

### [edit] Parameters

(none)

### [edit] Return value

true if instance is empty, otherwise false.

### [edit] Exceptions

`noexcept` specification:
noexcept
Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/any/empty&oldid=71453"
Category:

- unconditionally noexcept