On 06/10/2010 10:17 AM, Don Clugston wrote:
And to clarify -- the reason is that the specialisation of startsWith
for ranges of characters, was removed from std.algorithm.

Actually it was the return type which I made uint. Now I fixed things by making the return type bool if you're only looking for one item.

What I did remove was startFirst mixing ranges and individual characters:

startsWith("abc", 'a', "ab")

does not work. The previous implementation accepted the call but it was buggy. I don't know how to make it work reasonably.


Andrei
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to