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.
unary 'operator operator' has too many formal parameters
The unary operator has a nonvoid parameter list.
The following sample generates C2808:
// C2808.cpp
// compile with: /c
class X {
public:
X operator! ( X ); // C2808 nonvoid parameter list
X operator! ( void ); // OK
};