const type_info& target_type() const noexcept;
Returns: Если *this есть цель типа T, typeid(T); в противном случае typeid(void).
template<class T> T* target() noexcept; template<class T> const T* target() const noexcept;
Returns: Если target_type() == typeid(T) указатель на сохраненную функцию target; в противном случае - нулевой указатель.