次の行に沿って何かをすることは可能ですか:
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 ) );
比較的些細な方法で?タイプを保持できる唯一のオブジェクトは type_info であり、この方法でそれを使用する方法がわかりません。
ありがとう、パトリック