On Wed, Jun 12, 2013 at 5:38 AM, Andrei Alexandrescu <SeeWebsiteForEmail@erdani.org> wrote:
On 6/12/13 5:38 AM, Timothee Cour wrote:Do calls to variantTupleNamed nest within one another? This seems interesting. We should integrate this with json I/O as well.
However I've implemented something that works exactly as required:
https://github.com/timotheecour/dtools/blob/master/dtools/util/variant_nested.d
auto
d=variantTupleNamed("a",1,"b","foo","c",variantTuple(1,2.2,"three"));
Andrei