auto o = getO("info3");
    if (cast(Container)o != null) { ... }

Thanks Simen.
(Compiler requires !is instead of !=)

Reply via email to