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

Class capturing_slot_node_allocator

include/boost/leaf/error.hpp:387–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385
386 template <class E>
387 struct capturing_slot_node_allocator
388 {
389 template <class... A>
390 static dynamic_allocator::capturing_slot_node<E> * new_( A && ... a )
391 {
392 return new dynamic_allocator::capturing_slot_node<E>(std::forward<A>(a)...);
393 }
394
395 static void delete_( dynamic_allocator::capturing_slot_node<E> * p ) noexcept
396 {
397 delete p;
398 }
399 };
400
401 template <>
402 class slot<dynamic_allocator>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected