Verifying variable arguments are of expected type
问题 I'm currently writing a function which will take a variable number of arguments. I pass the number of arguments into the function and then will iterate through the arguments list. Each of the passed arguments should be an integer. I will be adding this integer to a vector of integers which will be used later. I would like to make sure that some joker doesn't attempt to pass this function something other then an integer in the future. I recognize that I can check the current argument from va