Jakob Ovrum:

We can already do this, but you have to omit the `Unused` alias (a semi-recent enhancement allows for that):

---
import std.traits : Unqual;

struct Tuple(Args...) {}

enum isTuple(T) = is(Unqual!T : Tuple!Types, Types...);

Thank you.

Bye,
bearophile

Reply via email to