this T / variadic template and interfaces

frame frame86 at live.com
Tue Oct 27 13:13:07 UTC 2020


On Tuesday, 27 October 2020 at 11:30:53 UTC, frame wrote:
> On Tuesday, 27 October 2020 at 10:41:06 UTC, Jacob Carlborg 
> wrote:
>
> if (_arguments[i] == typeid(ubyte[])) {
>   auto foo = va_arg!(ubyte[])(_argptr);
> }
>
> The same is working with variadic template. I am missing 
> something?

Never mind, I was squeezing the argument list through a delegate 
but the actual method - thus the pointer was 0.



More information about the Digitalmars-d-learn mailing list