This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <cstdlib> | |
#define INIT_OPEN(type) [] { type _; | |
#define INIT_CLOSE ; return _; }() | |
#define INIT(type, body) INIT_OPEN(type) body INIT_CLOSE | |
struct A { | |
int i; | |
}; |