G
Gideon
i understand __gc[] work different that native arrays.
say i need a __gc[] member, and a get function, that returns a ref to it.
i cant seem to make it happen.
this code:
***********CODE***********
publc __gc class Foo{
public:
Int32* get(){
return array;
};
Int32 array[];
};
**************************
gives me the following error:
error C2440: 'return' : cannot convert from 'int __gc[]' to 'int __gc *'
any ideas?
cheers,
g.
say i need a __gc[] member, and a get function, that returns a ref to it.
i cant seem to make it happen.
this code:
***********CODE***********
publc __gc class Foo{
public:
Int32* get(){
return array;
};
Int32 array[];
};
**************************
gives me the following error:
error C2440: 'return' : cannot convert from 'int __gc[]' to 'int __gc *'
any ideas?
cheers,
g.