Is is possible to use UFCS for types to simulate static members?

struct S {
    static void f();
}

void ext(S)() {
    S.f();
}

void main() {
    ext!S(); // ok
    S.ext(); // Error: no property 'ext' for type 'S'
}

Reply via email to