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.
'operator operator' cannot be overloaded
The following operators cannot be overloaded: class member access (.
), pointer to member (.*
), scope resolution (::
), conditional expression (? :
), and sizeof
.
The following sample generates C2800:
// C2800.cpp
// compile with: /c
class C {
operator:: (); // C2800
};