Re: template template parameter

2011-03-31 Thread Caligo
I should have been more clear, but my actual question is how do I access the parameters of a template parameter. My example works, but I wanted to know if there is a different and perhaps a better of doing it. In your example it would look something like this: struct SomeContainer(T, int x, int

Re: template template parameter

2011-03-30 Thread Ali Çehreli
; B.height_; } } auto b1 = Box!(double, 2, 7)(); auto b2 = Box!(double, 3, 4)(); b1.Fun(b2); I think the technical name for this is template template parameter. Using the above I'm able to do what I need to do, but is there a better way? and should I use alias or enum? Template template