Skip to content

Instantly share code, notes, and snippets.

@yudi-matsuzake
Created December 18, 2015 02:33
Show Gist options
  • Save yudi-matsuzake/1da0ff449cf945e3ad56 to your computer and use it in GitHub Desktop.
Save yudi-matsuzake/1da0ff449cf945e3ad56 to your computer and use it in GitHub Desktop.
#include <iostream>
typedef struct _{
_& operator()(void){
static int n = 0;
std::cout << n << std::endl;
n++;
return *this;
}
}_;
int main(){
_ __;
__()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment