IIFE in C++

Immediately invoked function expresions, in terms of C++ lambdas.

Rule of 0/3/5

and their relevance to RAII