Aug 20, 2013 at 7:22pm UTC
IPack is a value template parameter, not a type template parameter. Does it make sense to say this?
1 2 3 4
void display_all(const int_wrapper&, 2, 79, 400)
{
//
}
Last edited on Aug 20, 2013 at 7:22pm UTC
Aug 20, 2013 at 7:28pm UTC
Oh okay....
So is there any way to have a pack of objects?
Edit:
Of one class I mean.
Last edited on Aug 20, 2013 at 7:28pm UTC
Aug 20, 2013 at 7:49pm UTC
You can do it with some template metaprogramming, but I can't write it down off the top of my head. You might want to consider simple va_lists instead.
Aug 20, 2013 at 7:54pm UTC
Ah, I see. Thanks for the information.