![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
Lord_sh
种一棵树最好的时间是十年前,其次是现在
展开
-
c++ operator操作符的两种用法:重载和隐式类型转换
https://www.cnblogs.com/yangxudong/p/3872053.html转载 2019-04-25 19:41:36 · 269 阅读 · 0 评论 -
[深度探索C++对象模型]强制类型转换&其他
static_cast与强制类型转换的区别一句话总结:static_cast在编译时会进行类型检查,而强制转换不会。https://blog.csdn.net/Nick_666/article/details/78572698原创 2019-05-02 11:14:56 · 120 阅读 · 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 · 618 阅读 · 0 评论 -
[深入理解计算机系统]lab作业地址
http://csapp.cs.cmu.edu/3e/labs.htmlhttp://www.hh-yzm.com/https://www.cnblogs.com/HacTF/p/8029197.htmlhttps://github.com/Ethan-Yan27/CSAPP-Labs1. datalabhttps://blog.csdn.net/tzh476/ar...原创 2019-05-13 22:20:54 · 811 阅读 · 0 评论 -
[深度探索C++对象模型] operator+ 单参数 双参数
文章转自https://blog.csdn.net/u012043391/article/details/76168625C++运算符重载在自定义类中经常会用到,比如当我们自定义一个点类Point,想对Point类对象进行加减比较判断等操作时,就需要对相应运算符进行重载。以operator+为例,通常直观的感觉操作数就是应该有两个,写法如下: Point operato...转载 2019-05-12 18:39:13 · 1220 阅读 · 0 评论