assign_from_qi_with_error(qi, NS_GET_IID(T));
assign_from_qi_with_error(qi, NS_GET_IID(nsISupports));
      nsCOMPtr( const nsQueryInterfaceWithError& qi )            : NSCAP_CTOR_BASE(0)          // construct from |do_QueryInterface(expr, &rv)|        {          NSCAP_LOG_ASSIGNMENT(this, 0);          assign_from_qi_with_error(qi, NS_GET_IID(T));        }