读Thinking in c++笔记
来源:互联网 发布:淘宝能寄到德国吗 编辑:程序博客网 时间:2024/06/05 03:22
读Thinking in c++第二版,读到了late binding,有段话不是很明白,先加下来吧。但觉得很有意义。
To perform late binding,the C++ compiler inserts a special bit of code in lieu of the absolute call.
this code calculates the address of the function body, using information stored in the object(this proces is covered in great detail in Chapter15).thus,each object can behave differently according to the contents of that special bit of code.When you send a message to an object,the object actually does figure out what to do with that message.
To perform late binding,the C++ compiler inserts a special bit of code in lieu of the absolute call.
this code calculates the address of the function body, using information stored in the object(this proces is covered in great detail in Chapter15).thus,each object can behave differently according to the contents of that special bit of code.When you send a message to an object,the object actually does figure out what to do with that message.
- 读Thinking in c++笔记
- C++学习笔记(Thinking in C++) 一
- C++学习笔记(Thinking in C++) 二
- C++学习笔记(Thinking in c++) 三
- C++学习笔记(Thinking in C++)四
- C++学习笔记(Thinking in C++)五
- C++学习笔记(Thinking in C++)六
- 读第一遍Thinking in java的笔记
- 读thinking in java笔记(四):初始化
- 读thinking in java笔记(六):复用类
- 读thinking in java笔记(七):多态
- 读thinking in java笔记(八):接口
- 读thinking in java笔记(十二):字符串
- 读thinking in java笔记(十五):数组
- Thinking in C++(1)
- Thinking in C++(2)
- Thinking in C++(3)
- Thinking in C++(4)
- such a / So .. a
- 三鹿"奶粉门"事件
- 【转载】Cygwin安装
- UML使用1-安装与配置
- ECLIPSE快捷键?
- 读Thinking in c++笔记
- USER_TAB_COLS和USER_TAB_COLUMNS两个视图有什么区别
- Ours Facebook研究报告---第六章.Ours FaceBook技术研究报告(2)-数据表设计
- 一个小问题的解决
- 奶粉与肾结石
- .net WinForm DataGridView 多表头处理方案一则
- .net 实现右健菜单完成复制粘贴功能
- xfire开发webservice
- “使认识的人 发展成朋友”