On 3/7/14, 12:43 PM, Vladimir Panteleev wrote:
On Friday, 7 March 2014 at 19:57:38 UTC, Andrei Alexandrescu wrote:
Allow me to enumerate the functions of std.algorithm and how they work
today and how they'd work with the proposed change. Let s be a
variable of some string type.

s.canFind('é') currently works as expected.

No, it doesn't.

import std.algorithm;

void main()
{
     auto s = "cassé";
     assert(s.canFind('é'));
}

worksforme

Reply via email to