Considering the following function :
template<typename... List>
inline unsigned int myFunction(const List&... list)
{
return /* SOMETHING */;
}
What is the most simple thing to put instead of /* SOMETHING */
in order to return the sum of sizeof
all arguments ?
For example myFunction(int, char, double) = 4+1+8 = 13