Andrei Alexandrescu: > What I usually do is: > T foo(T)(T s) if (is(typeof(s + s))) { > } Nice, thank you, I'll use that. (That solution too presents the bug 3903) Bye, bearophile