https://issues.dlang.org/show_bug.cgi?id=17190
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from [email protected] --- option 1/ Renaming with deprecation is not like breaking: bool isNumber(S)(S s, bool bAllowSep = false) {} deprecated("use isNumber instead, ...") alias isNumeric = isNumber; option 2/ there's a simple fix, but it's not particularly nice: bool isNumeric(S, T = void)(S s){return false;} enum isNumeric(S) = true; static assert(isNumeric!string); static assert(!isNumeric("sdf")); --
