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

Method move

benchmarks/tbb/task_group_context.cpp:59–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59captured_exception* captured_exception::move () throw() {
60 captured_exception *e = (captured_exception*)allocate_via_handler_v3(sizeof(captured_exception));
61 if ( e ) {
62 ::new (e) captured_exception();
63 e->my_exception_name = my_exception_name;
64 e->my_exception_info = my_exception_info;
65 e->my_dynamic = true;
66 my_exception_name = my_exception_info = NULL;
67 }
68 return e;
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" );

Callers 1

TbbCurrentExceptionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected