Why is std.algorithm so complicated to use?

Jacob Carlborg doob at me.com
Mon Jul 9 23:54:18 PDT 2012


On 2012-07-09 23:00, Timon Gehr wrote:

> Actually you need a random-access range with assignable elements. Map
> would need to be provided with an inverse mapping to support that.
>
> zip has assignable elements when the source ranges do.

Are you saying I can't sort a range that comes from "map"? To me it 
seems like std.algorithm and ranges are a complete failure.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list