1. this指针、*this、++*this,
2. self& operator++()[改变了数据]
self operator++(int)
3.重载操作符其实本质上就是函数。
4.引用与指针的区别:引用是操作受限的指针
1. this指针、*this、++*this,
2. self& operator++()[改变了数据]
self operator++(int)
3.重载操作符其实本质上就是函数。
4.引用与指针的区别:引用是操作受限的指针
转载于:https://my.oschina.net/u/251874/blog/799781