variantArray

fnVariant[] variantArray(T...)(T args)

Returns an array of variants constructed from args.

This is by design. During construction the Variant needs static type information about the type being held, so as to store a pointer to function for fast retrieval.