Why is std.algorithm so complicated to use?
Dmitry Olshansky
dmitry.olsh at gmail.com
Mon Jul 9 23:59:01 PDT 2012
On 10-Jul-12 10:54, Jacob Carlborg wrote:
> 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.
>
Can you do it in other languages?
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list