by bad_alloc · 16y ago · 0 comments
If you begin to realize that you need garbage collection you probably failed while choosing the appropriate language for your project or subproblem.
Same thing here: struct a{typedef int foo;};struct a1:a{};struct a2:a{}; #define X(b,a) struct a##1:b##1,b##2{};struct a##2:b##1,b##2{}; X(a,b)X(b,c)X(c,d)X(d,e)X(e,f)X(f,g)X(g,h)X(h,i)X(i,j)X(j,k)X(k,l) X(l,m)X(m,n) n1::foo main(){}
Wich sane person would consider writing this a good idea?
No comments yet.