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 it
makes sense to use a convenience trait like:

isStringLike. I wanted to add this for a while already. Please do! -- Andrei

Reply via email to