I have following situation:

I have a struct ``Routine`` (base type) and its specializations ``!n``.

```d
struct Routine (uint argscount = 1) {
    string name;
    void delegate(inout Arguments!argscount) return call;
}

const auto ROUTINES = [
    Routine!3(":input", toDelegate(&routine_input)),
    Routine!2(":print", toDelegate(&routine_print)),
];
```

I understand why the given types are not compatible.
But not how I can store any base type regardless its specialization.

Reply via email to