前缀++和后缀++相关源码探索
最近研究RB-tree源代码,发现自增和自减的返回类型还不一样://前缀self& operator++(){increment(); return *this;}//后缀self operator++(int){ self tmp = *this; increment(); return tmp;}self& operator--(){decrement(); return *this;}self operator--(int){ self t