1 Comment
User's avatar
Andreas's avatar

at the end of the ON_SCOPE_EXIT scope you need to add a semicolon.

ON_SCOPE_EXIT

{

std::cout << "deferred text" << std::endl;

};

Expand full comment