xxxxxxxxxx
import std.meta : allSatisfy;
enum isHashable(T) = __traits(compiles,
() { T.init; }
);
class A
{
static if (isHashable!B) {}
}
class B
{
static if (isHashable!C) {}
}
class C
{
static if (allSatisfy!(isHashable, int, B)) {}
}
void main() {}