On Wed, Jun 12, 2013 at 9:16 AM, Jacob Carlborg <doob@me.com> wrote:
On 2013-06-12 11:38, Timothee Cour wrote:

Pending DIP32 (Uniform tuple syntax), this could improve to:
         auto d=variant( {a=1,b="foo", c={1,2.2,"three"}} );

That looks a bit like my suggestion for anonymous structs:

http://forum.dlang.org/thread/kfbnuc$1cro$1@digitalmars.com

--
/Jacob Carlborg

Hi Jacob, 
IIRC, I think your anonymous struct suggestion has more to do with DIP32, and in fact DIP32 would make your anonymous structs work.
But yes, having such tuple notation would make everything nicer.