39 std::function<void()>
l_;
Exception-safe way of executing arbitrary code at the end of a scope.
Definition: RAIICleanup.h:23
RAIICleanup(std::function< void()> l)
pass in any lambda you like which does the cleanup at the end
Definition: RAIICleanup.h:29
RAIICleanup()=delete
no default CTor; we need a lambda
std::function< void()> l_
called upon destruction
Definition: RAIICleanup.h:39
~RAIICleanup()
Definition: RAIICleanup.h:33
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22