Returns a const reference to the object of type T stored in a PolyRoot.
Declared in <folly/detail/PolyDetail.h>
template<
class T,
class I>
/* implementation-defined */ const&
poly_cast(/* implementation-defined */ const& that);
A const reference to the stored object cast to type T.
| Name | Description |
|---|---|
| that | The PolyRoot holding the object. |