C1015: Type is being defined

[ERROR]

Description

The given class or structure was declared as a member of itself. Recursive definition of classes and structures are not allowed.

Example
  struct A {

  
    A a;

  
  };

  
Tips

Use a pointer to the class being defined instead of the class itself.