Advertisement
JoshDreamland

yes, we went here

Jan 15th, 2014
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. template<typename a> struct phuk {
  2.   phuk(int) {}
  3.   typedef double q;
  4.   enum { r = 10 };
  5. };
  6.  
  7. class myclass {
  8.   myclass *a;
  9.   myclass(*b)();
  10.   myclass(int x);
  11.   myclass(myclass  *c): a(0) {}
  12.   myclass(myclass::*c)(myclass);
  13.   myclass(phuk<int> X3);
  14.   myclass(phuk<int>::q X3);
  15.   myclass() {
  16.     myclass(10);
  17.     myclass yes(10);
  18.     myclass(myclass(10));
  19.     myclass(myclass::*x)(myclass) = c;
  20.     myclass(phuk<int>::r);
  21.     (this ->* x)(*this);
  22.   }
  23. };
  24.  
  25. int main() {
  26. return 0;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement