https://issues.dlang.org/show_bug.cgi?id=24892

Richard (Rikki) Andrew Cattermole <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Richard (Rikki) Andrew Cattermole <[email protected]> 
---
What I am going to suggest instead of a trait, is to use > and <.

I.e.

``is(Child > Parent)``

``is(Parent < Child)``

This will also work with template parameters:

```d
void func(T > Parent)(T thing) {
}
```

Another benefit of this, is that it can be a direct 1:1 replacement.

--

Reply via email to