Original Post
I want to write a template functor which uses a variable argument list. I tried it with the following code: this is (according to the few sources i found) the way to do it. But my visual studio 2008 does not compile it. I get "C2059: syntax error: '...'" Is it possible that microsoft does not support this c++ conform template ellipsis parameters? If anyone knows another solution to my problem please post it. Thanks
template < typename RetVal, ... Args > class CBaseFunctorBase
{
public:
virtual RetVal Run(Args _Params) const = 0;
};