   Variable arguments
  I know C++0x supports variadic template arguments. Can it somehow besimulated in C++. For example :template<typename T , int numArg, ... >struct Dimensions{};I know thats not vaild syntax, but describes what I want. I know that in boost that they have,  mpl::vector_c<...>  which simulates what I want. AndI  know your thinking why don't I just use that, but this is for learning purposes. I am thinking along the lines of something like this :struct empty{};template<typename T, T1 = empty, T2 = empty ...andSoOn >but thats very limiting.   
  Boost probably uses typelists, and then lots of those templates with defaults for 20 arguments or 20 different overloads of the same function (where boost's preprocessor library can help).   ;  boost sites says that it does not limit the number of arguments, specifically,vector_c is vector_c<T,c1,c2,... cn>. ;Quote:Original post by Concentrateboost sites says that it does not limit the number of arguments, specifically,vector_c is vector_c<T,c1,c2,... cn>.Well that's wrong or at least misleading. It limits the number of arguments by a define. Read on.   