Preprocessor for implementing resumable lambdas in C++