Implementing Go's defer keyword in C++

TLDR

Using c++ destructor and RAII to implement go’s defer statement

Read more