std.string.cmp probably calls strcmp that I don't think can run in CTFE. I am not sure CTFE accepts arguments by ref opCmp(const ref S rhs) and probably there are other problems I don't know about... Bye, bearophile