Is it possible to do something along the lines of:
type t = int;//this would be a function which identifies what type the next argument is
if( t == int )
printf( "%d", va_arg( theva_list, t ) );
in a relatively trivial way? The only object I know which can hold a type is type_info and I can't work out how to use it in this way.
Thanks, Patrick