| 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> |
no test coverage detected