So, C++ extends C, and as that being the case, the implementation of varargs persisted (and hasn't changed, since it could break already existing code).
In C, you could do #include <stdarg.h>
, which included some functions for navigating the arguments.
But now most of C's original .h
files are deprecated (in C++).
So I'm wondering, what's the effective way of using varargs in C++?