- 博客(7)
- 收藏
- 关注
原创 [深度探索C++对象模型] most-derived class
Third, if a class inherits one or more classes that have virtual parents, themostderived class is responsible for constructing the virtual base class. In this case, Copier inherits Printer and Scann...
2019-04-29 18:57:35 633
转载 c++ operator操作符的两种用法:重载和隐式类型转换
https://www.cnblogs.com/yangxudong/p/3872053.html
2019-04-25 19:41:36 280
原创 [STL源码剖析] STL中mem_fun, mem_fun_ref, mem_fun1_t用法
https://www.cnblogs.com/blueoverflow/p/4729650.htmlhttp://www.cplusplus.com/reference/functional/mem_fun1_t/最后都归于一元仿函数(unary_function) 还是 二元仿函数(binary_function) 的问题...
2019-04-23 22:41:18 282
原创 C++ 函数指针 & 类成员函数指针
读《STL源码剖析》第八章两种取地址的方式不同http://www.runoob.com/w3cnote/cpp-func-pointer.html
2019-04-23 21:50:57 483
原创 [STL源码剖析] rotate random access iterator 版
https://blog.csdn.net/kuaile123/article/details/18359029有空看下数学证明
2019-04-22 20:06:12 178
转载 [STL源码剖析]POD类型
转并改自https://www.cnblogs.com/zzyoucan/p/3918614.html啥是POD类型?POD全称Plain Old Data。通俗的讲,一个类或结构体通过二进制拷贝后还能保持其数据不变,那么它就是一个POD类型。平凡的定义1.有平凡的构造函数2.有平凡的拷贝构造函数3.有平凡的移动构造函数4.有平凡的拷贝赋值运算符5.有平凡的移动赋值运算符...
2019-04-13 17:50:41 509
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人