MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / target

Function target

system/lib/libcxx/include/__functional/function.h:523–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

function.hFile · 0.85
unwind_phase2Function · 0.85
unwind_phase2_forcedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected