Namespaces
Variants

std::experimental::any:: type

From cppreference.net
const type_info & type ( ) const noexcept ;
(Library Fundamentals TS)

Fragt den enthaltenen Typ ab.

Parameter

(keine)

Rückgabewert

Der typeid des enthaltenen Werts, falls die Instanz nicht leer ist, andernfalls typeid ( void ) .