您的位置:首页 > 其它

运算符重载不是万能的,并非所有运算符都可以重载。

2010-06-12 14:55 337 查看
http://topic.csdn.net/t/20021129/10/1215331.html

不能重载的操作符,from more effective C++

.
.*
::
?:
new
delete
sizeof
typeid

static_cast
dynamic_cast
const_cast
reinterpret_cast

Asher

Archer

Neil

Miles

Aaron
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐