S
shree kame
I have a managed class A and inside A, I'm declaring an object of class
B. B has been forward declared.
Namespace X::Y::Z
{
__gc class B;
__gc class A
{
public:
A()
{
B *b = new B();
}
};
__gc class B
{
public:
B( )
{
}
};
}
The compiler complains
'X::Y::Z::A::B' : no appropriate default constructor available
Any clues??
Thanks
shree
B. B has been forward declared.
Namespace X::Y::Z
{
__gc class B;
__gc class A
{
public:
A()
{
B *b = new B();
}
};
__gc class B
{
public:
B( )
{
}
};
}
The compiler complains
'X::Y::Z::A::B' : no appropriate default constructor available
Any clues??
Thanks
shree