SHARE
TWEET

Untitled

tinyevil Dec 29th, 2018 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <cstdio>
  2. #include <functional>
  3.  
  4. #define XXX foo([]() -> int{ return __COUNTER__; });
  5. #define YYY XXX;XXX;XXX;XXX;XXX;
  6. #define ZZZ YYY;YYY;YYY;YYY;YYY;
  7.  
  8. void foo(std::function<int()> fn);
  9.  
  10. void bar(){
  11.     ZZZ;
  12.     ZZZ;
  13.     ZZZ;
  14.     ZZZ;
  15.     ZZZ;
  16.     ZZZ;
  17.     ZZZ;
  18.     ZZZ;
  19.     ZZZ;
  20.     ZZZ;
  21.     ZZZ;
  22.     ZZZ;
  23.     ZZZ;
  24.     ZZZ;
  25.     ZZZ;
  26.     ZZZ;
  27.     ZZZ;
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top