| 521 | |
| 522 | template <typename _Tp> |
| 523 | _LIBCPP_HIDE_FROM_ABI const _Tp* target() const _NOEXCEPT { |
| 524 | if (__policy_->__is_null || typeid(_Tp) != *__policy_->__type_info) |
| 525 | return nullptr; |
| 526 | if (__policy_->__clone) // Out of line storage. |
| 527 | return reinterpret_cast<const _Tp*>(__buf_.__large); |
| 528 | else |
| 529 | return reinterpret_cast<const _Tp*>(&__buf_.__small); |
| 530 | } |
| 531 | # endif // _LIBCPP_HAS_RTTI |
| 532 | }; |
| 533 |
no outgoing calls
no test coverage detected