Hi!

This gives an error (cannot deduce template function from argument types):

-----
import std.algorithm;
void main () {
        char [] c;
        sort (c);
}
-----

Why is "char []" so special that it can't be sorted?

For example, if I know the array contains only ASCII characters, sorting it sounds no different to sorting an "int []".

Ivan Kazmenko.

Reply via email to