How to use core.vararg to print D variadic arguments and their types without using ! (template instantiation)?

BoQsc vaidas.boqsc at gmail.com
Thu Sep 14 15:19:29 UTC 2023


https://dlang.org/phobos/core_vararg.html

The common way to use **va_arg** is `va_arg!(int)(_argptr);`
What would be the alternative way or syntax that behave exactly 
the same way, even if more verbose?



____
`va_arg!(int)(_argptr);` is taken from an example in:
https://dlang.org/spec/function.html#d_style_variadic_functions


More information about the Digitalmars-d-learn mailing list