Namespaces
Variants

std::experimental::any:: type

From cppreference.net
const type_info & type ( ) const noexcept ;
(ライブラリ基盤 TS)

格納されている型をクエリします。

パラメータ

(なし)

戻り値

インスタンスが非空の場合に含まれる値の typeid 、そうでない場合は typeid ( void )