https://issues.dlang.org/show_bug.cgi?id=19036
--- Comment #3 from Guillaume Lathoud <[email protected]> --- Thanks for the answers. In another use case there is a class hierarchy, I also need the fields of the base class, which .tupleof does not provide, so I am not sure anymore how useful the present issue would be. (I ended up using something along this line: [__traits( allMembers, MyClass)].sort() ) Maybe the spec could simply state that .tupleof does not provide any order guarantee, as already specified for __traits( allMembers, MyClass ) and __traits( derivedMembers, MyClass ). --
