MCPcopy Create free account
hub / github.com/deweylab/RSEM / get_object

Function get_object

boost/optional/optional.hpp:455–459  ·  view source on GitHub ↗

This workaround is supposed to silence GCC warnings about broken strict aliasing rules

Source from the content-addressed store, hash-verified

453#if defined(BOOST_OPTIONAL_DETAIL_USE_ATTRIBUTE_MAY_ALIAS)
454 // This workaround is supposed to silence GCC warnings about broken strict aliasing rules
455 internal_type const* get_object() const
456 {
457 union { void const* ap_pvoid; internal_type const* as_ptype; } caster = { m_storage.address() };
458 return caster.as_ptype;
459 }
460 internal_type * get_object()
461 {
462 union { void* ap_pvoid; internal_type* as_ptype; } caster = { m_storage.address() };

Callers 2

get_implFunction · 0.85
get_ptr_implFunction · 0.85

Calls 1

addressMethod · 0.45

Tested by

no test coverage detected