Re: How to know if opSlice is defined for a type (including built-in types)?
chardetm via Digitalmars-d-learn Wed, 20 Jan 2016 05:10:36 -0800
Anyone who has the same problem: I found
std.range.primitives.hasSlicing
(https://dlang.org/phobos/std_range_primitives.html#hasSlicing)
which does exactly what I want!
- How to know if opSlice is defined... chardetm via Digitalmars-d-learn
- Re: How to know if opSlice i... Rikki Cattermole via Digitalmars-d-learn
- Re: How to know if opSli... chardetm via Digitalmars-d-learn
- Re: How to know if opSlice i... chardetm via Digitalmars-d-learn
- Re: How to know if opSli... Jonathan M Davis via Digitalmars-d-learn
- Re: How to know if opSli... chardetm via Digitalmars-d-learn