Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'constructor' : an interface cannot have a constructor
A Visual C++ interface cannot have a constructor.
The following sample generates C2846:
// C2846.cpp
// compile with: /c
__interface C {
C(); // C2846 constructor not allowed in an interface
};