16 explicit scope_guard(std::function<
void()> f) : f_(std::move(f)) {}
23 std::function<void()> f_;
A scope guard that executes a function when it goes out of scope.
Definition: scope_guard.hpp:9
~scope_guard()
Definition: scope_guard.hpp:18
scope_guard(std::function< void()> f)
Constructor that takes a function to execute when the guard goes out of scope.
Definition: scope_guard.hpp:16
Definition: gripper.cpp:3