1class Point
2{
3public:
4 Point& operator++() { ... } // prefix
5 Point operator++(int) { ... } // postfix
6 friend Point& operator++(Point &p); // friend prefix
7 friend Point operator++(Point &p, int); // friend postfix
8 // in Microsoft Docs written "friend Point& operator++(Point &p, int);"
9};
10