std::any::type
const std::type_info& type() const noexcept; |
(since C++17) | |
Queries the contained type.
Parameters
(none)
Return value
The typeid
of the contained value if instance is non-empty, otherwise typeid(void).
const std::type_info& type() const noexcept; |
(since C++17) | |
Queries the contained type.
(none)
The typeid
of the contained value if instance is non-empty, otherwise typeid(void).