摘要:
const 函数名后,加const使类的成员函数,不能修改类内成员。mutable可以突破const限制! 在函数后面加const只能在类的成员函数中实现!普通的函数是无法进行这样的操作的! void test() const { cout<<"This is test function!"<<en 阅读全文
posted @ 2023-02-23 20:37
csnotes
阅读(36)
评论(0)
推荐(0)
摘要:
sysctl内核参数 阅读全文
posted @ 2023-02-23 17:28
csnotes
阅读(12)
评论(0)
推荐(0)
摘要:
#pragma warning(push) //是保存当前的编译器警告状态; #pragma warning(disable : 4640) //禁止compiler警告 阅读全文
posted @ 2023-02-23 17:28
csnotes
阅读(24)
评论(0)
推荐(0)

浙公网安备 33010602011771号