Exist in phobos something like Import template?

public import std.traits;

template Import(alias Module){
        mixin("import " ~ moduleName!Module ~ ";");
}

class C;

struct Test{
        Import!(std.typecons).Rebindable!C test;        //symbols
}

Reply via email to