Deferred execution utility like defer keyword in other languages. More...
#include <end.hpp>
Public Member Functions | |
| end (std::function< void(void)> l) | |
Deferred execution utility like defer keyword in other languages.
End is like a 'defer' keyword in other languages. In byeolang, it registers what to be done when you go out of the current func. In C++, but, it limited to scope, not a func.