Suddenly posted. I don't know why it's happened))

template isMyInstanceOf(alias Templ, alias Inst)
{
    alias Args = ???; //I don't have idea how to get it

enum bool isMyInstanceOf = __traits(isSame, Templ!(Args), Inst);
}

Do you have any idea how to solve this? May be standad library could be improved with such type of test for template instance?

Reply via email to