
28 Jun
2009
28 Jun
'09
8:03 p.m.
Is there a way, using some combination of boost preprocessor and mpl, that I can write a class template<class T, int n> class foo { public: void foo(T arg1, T arg2, ..., T argn); }; In other words, generate a function that requires n arguments where n is a template parameter?