Intermediate
C++
Q57 / 100
What is a variadic template?
Correct! Well done.
Incorrect.
The correct answer is B) A template accepting an arbitrary number of type parameters
B
Correct Answer
A template accepting an arbitrary number of type parameters
Explanation
template<typename... Args> void log(Args&&... args) accepts any number of type arguments. The ... pack expansion applies the operation to each argument.
Progress
57/100