MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / ~event

Method ~event

src/api/cpp/event.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17event::event(af_event e) : e_(e) {}
18
19event::~event() {
20 // No dtor throw
21 if (e_) { af_delete_event(e_); }
22}
23
24// NOLINTNEXTLINE(performance-noexcept-move-constructor) we can't change the API
25event::event(event&& other) : e_(other.e_) { other.e_ = 0; }

Callers

nothing calls this directly

Calls 1

af_delete_eventFunction · 0.50

Tested by

no test coverage detected