Get base Get array of base type from Variant

Code



Application output:

x


Application error:

std.variant.VariantException@std/variant.d(1237): Variant: attempting to use incompatible types f7.XXX[] and f7.IXXX[] ---------------- ./f7(_Dmain+0xe2) [0x42953e] ./f7(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().void __lambda1()+0x18) [0x42f35c] ./f7(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x42f2b6] ./f7(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()+0x30) [0x42f31c] ./f7(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x42f2b6] ./f7(_d_run_main+0x1a3) [0x42f237] ./f7(main+0x17) [0x42cb63] /usr/lib/libc.so.6(__libc_start_main+0xf5) [0x40967a15] ----------------

Paste info


Author: Guest
Views: 1390
Private: no
Expires: Never
Uploaded: 21.11.13 6:11
Votes: 0

Compilation


Compiler: DMD 2.076.1 ( 2.076.1 )
Pointer size: m64

Actions