how to sort the container Array from std.container

Adam D. Ruppe destructionator at gmail.com
Wed Jun 6 13:46:41 UTC 2018


On Wednesday, 6 June 2018 at 13:44:09 UTC, Flaze07 wrote:
> sort( arr.Range );
> don't work, it says cannot pass RangeT!(Array!uint) as function 
> argument

Range is the type, you want the value

I think you can do

sort(arr[])

maybe


More information about the Digitalmars-d-learn mailing list