11智能在线
新记
c/c++ 中哪些运算符是看起来类似函数的?例如new,sizeof之类。
如题所述
举报该文章
相关建议 2011-03-27
static_cast <type_id> (expression)
reinterpret_cast<type_id> (expression)
const_cast<type_id> (expression)
dynamic_cast < type-id > ( expression )
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/pssqf8f7p.html
其他看法
第1个回答 2011-03-27
C+=中的操纵符 , -> ,类型转换等都是函数调用形式
相似回答
大家正在搜