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