Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::experimental::any::type

Queries the contained type.

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

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.