end.hpp File Reference
#include "indep/common.hpp"
#include "indep/macro.hpp"

Go to the source code of this file.

Classes

class  by::end
 Deferred execution utility like defer keyword in other languages. More...
 

Macros

#define BY_END_BLOCK(blockStmt)   auto __defer__##__COUNTER__ = end([&]() blockStmt)
 
#define BY_END(stmt)   auto __defer__##__COUNTER__ = end([&]() { stmt; })