Lexicographical object comparison by selected members of a struct

Tejas notrealemail at gmail.com
Sat Aug 21 16:54:12 UTC 2021


On Saturday, 21 August 2021 at 13:45:59 UTC, Ali Çehreli wrote:
> On 8/21/21 1:31 AM, Tejas wrote:
>
> > I was more impressed that you found that hack in the first
> place
>
> I can't take credit. :) 'static foreach' had that difference 
> since its inception. The spec says "If a new scope is desired 
> for each expansion, use another set of braces:"
>
>   https://dlang.org/spec/version.html#staticforeach
>
> Ali
I'm an inattentive dunce ;_;


More information about the Digitalmars-d-learn mailing list