/////////////////////////////////////////////////////////////////////////////
Declared in <folly/Poly.h>
template<class I>
std::type_info const&
poly_type(/* implementation-defined */ const& that) noexcept;
Returns a reference to the std::type_info object corresponding to the object currently stored in that. If that is empty, returns typeid(void).
The std::type_info of the stored object, or typeid(void).
| Name | Description |
|---|---|
| that | The Poly object to inspect. |