Sorted Array (Container) Type

Per Nordlöw per.nordlow at gmail.com
Sat Nov 12 14:07:46 UTC 2022


Have anybody created a wrapper container

```d
struct Sorted(ArrayLike, alias lessThanPred)
```


that wraps an array-like type `ArrayLike` so that it's always 
sorted according to the binary predicate `lessThanPred`?


More information about the Digitalmars-d-learn mailing list