On 02/15/2017 12:18 PM, Seb wrote:uint getAttributes(R)(R name) if (isInputRange!R && !isInfinite!R &&isSomeChar!(ElementEncodingType!R) && !isConvertibleToString!R);Now as this same block is used > 30x in Phobos one could argue that itmakes sense to use a convenience trait like:isStringLike. I wanted to add this for a while already. Please do! -- Andrei
https://github.com/dlang/phobos/pull/5137