S
sdf
Hi.
Sorry for lame question, but I'm puzzled.
What if I have:
class A
{
public:
class B some_method ();
};
and
class B
{
public:
class A some_value
};
Class definitions are separated to different header files. And
compiler (VS2008 and mingw checked both) cannot compile class A before
class B compiled.
So what is correct way to handle such situation?
Sorry for lame question, but I'm puzzled.
What if I have:
class A
{
public:
class B some_method ();
};
and
class B
{
public:
class A some_value
};
Class definitions are separated to different header files. And
compiler (VS2008 and mingw checked both) cannot compile class A before
class B compiled.
So what is correct way to handle such situation?