std.data.json formal review
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Sun Aug 16 07:26:39 PDT 2015
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
More information about the Digitalmars-d
mailing list