std::experimental::any::type (3) - Linux Manuals

std::experimental::any::type: std::experimental::any::type

NAME

std::experimental::any::type - std::experimental::any::type

Synopsis


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


Queries the contained type.

Parameters


(none)

Return value


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