SysTutorials

Linux Manual Pages › Section 3

stdexperimentalanytype(3)

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).