C2013: No access to special member of base class

[WARNING]

Description

The special member (Constructor, destructor or assignment operator) could not be accessed.

Example
  struct A {

  
    private:

  
      A();

  
  };

  
  struct B : A {

  
  };

  
  void main() {

  
    B b;   // error

  
  }

  
Tips

Change the access specifier for the special member.

See also