MCPcopy Create free account
hub / github.com/boostorg/leaf / get_dynamic_allocator

Function get_dynamic_allocator

include/boost/leaf/error.hpp:472–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470{
471#if BOOST_LEAF_CFG_CAPTURE
472 inline dynamic_allocator * get_dynamic_allocator() noexcept
473 {
474 if( slot<dynamic_allocator> * sl = tls::read_ptr<slot<dynamic_allocator>>() )
475 return &sl->get();
476 return nullptr;
477 }
478#endif
479
480 template <class E>

Callers 2

get_slotFunction · 0.85
~preloadedMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected