Referencestdanytype member function std::any::type Header<any>Draft[any.class.general]Scopestd::anycppreferencestd::any::type ↗ Synopsis const type_info& type() const noexcept;