
c++
爱哲学的码农
我等采石之人,应心怀建设大教堂之愿景。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c++11-智能指针-std::function-std::bind
智能指针 std::function std:bind #include <iostream> #include <thread> #include <mutex> class A{ public: A() { } ~A() {} int x; }; void threadPor(A a) { std::cout <<...原创 2019-05-12 21:38:50 · 1001 阅读 · 0 评论 -
c++类型转换
一静一动 static_cast、 基本数据类型 dynamic_cast、指针 const_cast、去常量,但是对方必须是指针或引用 reinterpret_cast 、改变指针或引用的类型原创 2019-05-13 06:54:12 · 116 阅读 · 0 评论