您的位置:首页 > 其它

运行期绑定与编译期绑定的区别

2010-06-11 08:36 190 查看
运行期绑定:函数的地址在运行时确定,也称之为晚期/动态绑定。主要是对虚函数的操作。
编译期绑定:函数的地址在编译时确定,也称之为早期/静态绑定。主要是对非虚函数的操作。

What is the difference between run time binding and compile time binding?
Run Time Binding: The addresses of the functions are determined at runtime. This is also known as "Late/Dynamic Binding".
Compile Time Binding: The addresses of the functions are determined at compile time rather. This is also known as "Early/Static Binding"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: