getOverloads order

Dennis dkorpel at gmail.com
Thu Jul 13 11:22:27 UTC 2023


On Thursday, 13 July 2023 at 11:04:40 UTC, IchorDev wrote:
> However, the spec doesn't specify that this is how 
> `getOverloads` **must** work; is this guaranteed behaviour but 
> the spec simply omits it?

The order is not guaranteed. I don't know why you need a specific 
order, but perhaps you can sort based on `__traits(getLocation)`.


More information about the Digitalmars-d-learn mailing list