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