Here we go, I got a template class with variadic classes arguments, each class has its own id from an enum value, for example:
struct A
{
enum ETypeID
{
Value = 244
};
};
(same pattern for some other classes)
now I got :
template<typename TypeList...>
struct TClass
{
static int _IDs[sizeof(TypeList)...];
};
I can't figure out how to feed the static array with each ETypeID::Value from the given typelist.
Any help would greatly be appreciated