std::experimental::any::type

Queries the contained type.

# Declarations

const type_info& type() const noexcept;

(library fundamentals TS)

# Return value

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