I have a class that should have a class of the same type as its member.
My declaration is the following:
class clsNode
{
private:
clsNode m_Moth
When you have a member of a class type (directly not a pointer), the instance of your mother class contains physically the contained instance.
In this case, the compiler can't find the size of the clsNode class as there's a cycle. It should contain a clsNode, which should contain a clsNode, and so forth.