On 2015-08-16 14:34, Sönke Ludwig wrote:
Good, I'll use `if (isInputRange!R && (isSomeChar!(ElementEncodingType!R) || isIntegral!(ElementEncodingType!R))`. It's just used in number of places and quite a bit more verbose (twice as long) and I guess a large number of algorithms in Phobos accept char ranges, so that may actually warrant a name in this case.
I agree. Signatures like this are what's making std.algorithm look more complicated than it is.
-- /Jacob Carlborg
