R
RalphTheExpert
Why am I getting the following C2440 error?
public __gc
class X
{
String* Y[];
X(); // Construct Y
public:
const String*
get_Y()
__gc[]
{
return Y; // C2440 error
}
};
I'm guessing it has something to do with String's copy constructor ...
but it surely seems odd to me.
Ralph
public __gc
class X
{
String* Y[];
X(); // Construct Y
public:
const String*
get_Y()
__gc[]
{
return Y; // C2440 error
}
};
I'm guessing it has something to do with String's copy constructor ...
but it surely seems odd to me.
Ralph