MCPcopy Create free account
hub / github.com/FastLED/FastLED / make_scope_exit

Function make_scope_exit

src/fl/stl/scope_exit.h:48–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46/// auto guard = fl::make_scope_exit([&]{ cleanup(); });
47template <typename EF>
48scope_exit<decay_t<EF>> make_scope_exit(EF &&f) {
49 return scope_exit<decay_t<EF>>(fl::forward<EF>(f));
50}
51
52} // namespace fl

Callers 3

runFunction · 0.85
channel.cppFile · 0.85
FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected