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