fork(2) download
  1. #define CONCATE1(X,Y) X##Y
  2. #define CONCATE(X,Y) CONCATE1(X,Y)
  3.  
  4. #define PRINTME class CONCATE(m_,__COUNTER__) {}
  5.  
  6. PRINTME; // class m_0
  7. PRINTME; // class m_1
  8. PRINTME; // class m_2
  9.  
  10. int main ()
  11. {
  12. m_0 obj0;
  13. m_1 obj1;
  14. m_2 obj2;
  15. }
  16.  
Success #stdin #stdout 0s 2924KB
stdin
Standard input is empty
stdout
Standard output is empty