std::experimental::any::type - cppreference.com (original) (raw)

| const type_info& type() const noexcept; | | (library fundamentals TS) | | ---------------------------------------- | | ------------------------- |

Queries the contained type.

[edit] Parameters

(none)

[edit] Return value

The typeid of the contained value if instance is non-empty, otherwise typeid(void).