MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / operator()

Method operator()

include/wasm.hh:187–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185public:
186 template <typename T>
187 void operator()(T* ptr) {
188 ptr->destroy();
189 }
190};
191
192template<class T> using own = std::unique_ptr<T, destroyer>;

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected