c++
Lord_sh
种一棵树最好的时间是十年前,其次是现在
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c++ operator操作符的两种用法:重载和隐式类型转换
https://www.cnblogs.com/yangxudong/p/3872053.html转载 2019-04-25 19:41:36 · 325 阅读 · 0 评论 -
[深度探索C++对象模型]强制类型转换&其他
static_cast与强制类型转换的区别 一句话总结:static_cast在编译时会进行类型检查,而强制转换不会。 https://blog.youkuaiyun.com/Nick_666/article/details/78572698原创 2019-05-02 11:14:56 · 170 阅读 · 0 评论 -
[深度探索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 · 739 阅读 · 0 评论 -
[深入理解计算机系统]lab作业地址
http://csapp.cs.cmu.edu/3e/labs.html http://www.hh-yzm.com/ https://www.cnblogs.com/HacTF/p/8029197.html https://github.com/Ethan-Yan27/CSAPP-Labs 1. datalab https://blog.youkuaiyun.com/tzh476/ar...原创 2019-05-13 22:20:54 · 893 阅读 · 0 评论 -
[深度探索C++对象模型] operator+ 单参数 双参数
文章转自https://blog.youkuaiyun.com/u012043391/article/details/76168625 C++运算符重载在自定义类中经常会用到,比如当我们自定义一个点类Point,想对Point类对象进行加减比较判断等操作时,就需要对相应运算符进行重载。 以operator+为例,通常直观的感觉操作数就是应该有两个,写法如下: Point operato...转载 2019-05-12 18:39:13 · 1348 阅读 · 0 评论
分享