MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / destroy

Method destroy

benchmarks/tbb/task_group_context.cpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void captured_exception::destroy () throw() {
72 __TBB_ASSERT ( my_dynamic, "Method destroy can be used only on objects created by clone or allocate" );
73 if ( my_dynamic ) {
74 this->captured_exception::~captured_exception();
75 deallocate_via_handler_v3 (this);
76 }
77}
78
79captured_exception* captured_exception::allocate ( const char* a_name, const char* info ) {
80 captured_exception *e = (captured_exception*)allocate_via_handler_v3( sizeof(captured_exception) );

Callers 3

allocateMethod · 0.45
~task_group_contextMethod · 0.45
resetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected