On Sunday, 4 May 2014 at 22:25:36 UTC, bearophile wrote:
Dicebot:

What benefits this gives over definining distinct struct? Sounds like unnecessary complication for me.

See the code in my precedent post, what do you think about it?

Bye,
bearophile

Change

    alias Two = Tuple!(string,"str", int, "bob");

to

    struct Two
    {
        string str;
        int bob;
    }

and it will become much more readable while staying semantically equivalent

Reply via email to