How to list aggregate members in order of declaration at compile time?
Ivan Kazmenko via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Nov 11 14:26:20 PST 2016
On Friday, 11 November 2016 at 22:04:37 UTC, Jonathan M Davis
wrote:
> ...
>
> I expect that it never occurred to Walter to specify that the
> order of the members mattered with tupleof and that that's why
> the spec doesn't say.
>
> So, use tupleof, and you can create an enhancement request in
> bugzilla for the spec to be made clearer about it:
> https://issues.dlang.org
Thanks for the answer! So you think the order guarantee is
likely to be just granted for .tupleof if asked for. I hope to
get to creating a documentation issue/PR next week, to see more
reaction.
Ivan Kazmenko.
More information about the Digitalmars-d-learn
mailing list