1 2 3 4 5 6 7 8 9 10 11 12
#include <cstdio> class A{ public: A& operator++() { return *this; } A& operator++(int){ return *this; } A operator+(A& t){ return *this; } }; int main(){ A a, b; a+++++b; }