C++中const用法
Type safety: Unchecked cast from Object
I try to cast an object to my Action class, but it results in a warning: Type safety: Unchecked cast from Object to Action<ClientInterface>[详细]
2022-12-26 13:58 分类:问答-
C++知识点之成员函数中const的用法
目录修饰入参值传递址传递const修饰入参修饰返回值修饰函数const 在C++中是一个很重要的关键字,其不光可以用来修饰变量,还可以放在函数定义中,这里整理了其在函数中的三个用法。[详细]
2022-12-03 11:27 分类:开发