Check template parameter whether it has "length"

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 8 09:33:35 PDT 2015


On Thursday, 8 October 2015 at 15:22:02 UTC, tcak wrote:
> BTW, there is nothing like std.traits.hasLength.

You're just looking in the wrong place =)

http://dlang.org/phobos/std_range_primitives.html#hasLength


More information about the Digitalmars-d-learn mailing list