/////////////////////////////////////////////////////////////////////////////
Declared in <folly/Poly.h>
[[noreturn]]
std::type_info const&
poly_type(/* implementation-defined */ const&) noexcept;
» more...
template<class Poly>
requires detail::IsPoly<Poly>::value
constexpr
decltype(poly_type(that.get()))
poly_type(Poly const& that) noexcept;
» more...
/////////////////////////////////////////////////////////////////////////////
template<class I>
std::type_info const&
poly_type(/* implementation-defined */ const& that) noexcept;
» more...
The std::type_info of the stored object, or typeid(void).
| Name | Description |
|---|---|
| that | The Poly object to inspect. |