![]() |
#2
zhoufeng19882010-11-30 11:08
|
比如说一个类叫 day
定义一个返回 day引用的函数
day& {
return *this;
}
为什么不是
day& {
return this;
}
引用的话不是返回地址么? this不是储存对象的地址么?