How to obtain Variant underlying type?

Adam D Ruppe destructionator at gmail.com
Sat Jul 9 14:46:36 UTC 2022


On Saturday, 9 July 2022 at 14:36:44 UTC, anonymouse wrote:
>      auto vb = v.base; // what should I put here to achieve the 
> following:
>      typeof(vb); // int[][]

Impossible; Variant's type is only known at runtime, and this 
would require compile time knowledge.


More information about the Digitalmars-d-learn mailing list