Scroll to navigation

std::experimental::any::type(3) C++ Standard Libary std::experimental::any::type(3)

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

2026.11.10 http://cppreference.com