endsWith() doesn't work with const(wchar[])s

%u wfunction at hotmail.com
Thu Jan 13 21:21:06 PST 2011


Hi,

I've noticed that some functions, such as algorithm.endsWith, don't work with
constant arrays. Is this a bug, or is there a reason behind it? It forces the
user to perform dangerous casts to avoid object creation, and it doesn't seem
like the functions actually need to perform any manipulations.

Thank you!


More information about the Digitalmars-d mailing list