nsCOMPtr( const nsQueryReferent& aSmartPtr ) : NSCAP_CTOR_BASE(0) { assign_with_QueryReferent(aSmartPtr.mRawPtr, nsCOMTypeInfo<T>::GetIID(), aSmartPtr.mErrorPtr); }
nsCOMPtr( const nsDontQueryInterface<T>& aSmartPtr ) : NSCAP_CTOR_BASE(aSmartPtr.mRawPtr) { if ( mRawPtr ) NSCAP_ADDREF(mRawPtr);  NSCAP_ASSERT_NO_QUERY_NEEDED(); }
			nsCOMPtr( const nsQueryReferent& aSmartPtr )					: NSCAP_CTOR_BASE(0)				{					assign_with_QueryReferent(aSmartPtr.mRawPtr, nsCOMTypeInfo<T>::GetIID(), aSmartPtr.mErrorPtr);				}