On 08/24/2013 04:12 AM, Jason den Dulk wrote: > Hi > > Straight off, I should ask if Variant[Variant] is a feasable idea.
It looks like it: import std.variant; void main() { Variant[Variant] aa; aa[Variant(42)] = Variant("forty two"); assert(Variant(42) in aa); assert(aa == [ Variant(42) : Variant("forty two") ]); } > This is the functionI spent 15 minutes trying to complete the code but failed. Could you please provide a minimal program that almost compiles.
Ali