On 2014-06-26 23:16, H. S. Teoh via Digitalmars-d wrote:

Note that the word "tuple" in D is used to refer to two very different
things. What you want is essentially an anonymous struct, and should be
adequately covered by std.typecons.tuple.

I would like some form of anonymous struct, with some kind of pattern matching on the fields [1].

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

--
/Jacob Carlborg

Reply via email to