if the compiler sees ++b, it generates a call to B::operator++( );
if it sees b++ it calls B::operator++(int)
这就是自增及自减前缀与后缀运算符的区别。
if the compiler sees ++b, it generates a call to B::operator++( );
if it sees b++ it calls B::operator++(int)
这就是自增及自减前缀与后缀运算符的区别。