MCPcopy Create free account
hub / github.com/VCVRack/Rack / deferWrapper

Function deferWrapper

include/common.hpp:203–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201
202template <typename F>
203DeferWrapper<F> deferWrapper(F f) {
204 return DeferWrapper<F>(f);
205}
206
207#define DEFER(code) auto CONCAT(_defer_, __COUNTER__) = rack::deferWrapper([&]() code)
208

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected