Advertisement
tinyevil

Untitled

Dec 29th, 2018
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement