More flexible sorted ranges?

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Nov 2 14:19:50 PST 2014


On Sunday, 2 November 2014 at 22:14:33 UTC, Xinok wrote:
> In general, I don't feel that SortedRange is an ideal solution 
> anyways. Wrapping ranges in a struct adds too much overhead and 
> we can't extend the functionality of it. Would it be possible 
> to replace SortedRange with a @sorted attribute or something?

You might be interested in the this proposal:

http://forum.dlang.org/thread/tpctqjlvnrrasiktehaq@forum.dlang.org

I think it is doableā€¦ ;)


More information about the Digitalmars-d-learn mailing list