On 3/6/2014 7:22 PM, bearophile wrote:
One advantage of your change is that this code will work:auto s = "hello".dup; s.sort();
Yes, I hadn't thought of that.The auto-decoding front() introduces all kinds of asymmetry in how ranges work, and asymmetry is bad as it negatively impacts composability.