C1078: <FunctionKind> must be a function

[ERROR]

Description

A constructor, destructor, operator or conversion operator was declared as a variable.

Example
  struct A {

  
    int A;

  
  };

  
Tips

Constructors, destructors, operators and conversion operators must be declared as functions.