G
Gernot Frisch
template <class T> void SetAry(CComSafeArray< T >*& pSar, int num, T*
pData)
{}
CComSafeArray<REAL> *pSs;
REAL* Ss;
SetAry(pSs, 6, Ss);
Gives error:
C2784: 'void SetAry(ATL::CComSafeArray<T> *& ,int,T *)': template
argument for 'ATL::CComSafeArray<T> *& ' of 'ATL::CComSafeArray<T> *'
could not be derived
with
[
T=REAL
]
See declaration of 'SetAry'
Does anyone "understand" the error? If so, is there a solutiuon?
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
pData)
{}
CComSafeArray<REAL> *pSs;
REAL* Ss;
SetAry(pSs, 6, Ss);
Gives error:
C2784: 'void SetAry(ATL::CComSafeArray<T> *& ,int,T *)': template
argument for 'ATL::CComSafeArray<T> *& ' of 'ATL::CComSafeArray<T> *'
could not be derived
with
[
T=REAL
]
See declaration of 'SetAry'
Does anyone "understand" the error? If so, is there a solutiuon?
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com