由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - C++ 普及课程 (视频):Static Polymorphism
相关主题
static variable in template header问个虚函数的作用
why use template?[合集] Effective C++上说要少用casting,但是polymorphism一定要用到c
关于c++ classes的interview test[合集] c++的dynamic_cast是如何实现的?
C++面试题问几个C++面试题吧
C++ questionsC++ question
请教 C++的一个困惑 (operator delete)C++的一个问题
请教C++类设计问题一道 memset in C++的题
Overridden function will cause function shadow in C++, but not in Java[合集] 基类函数已经是virtual了,为啥子类还要virtual啊?
相关话题的讨论汇总
话题: binding话题: static话题: dynamic话题: c++
进入Programming版参与讨论
1 (共1页)
d******3
发帖数: 70
1
Everyone knows how to use the Polymorphism with dynamic binding. But dynamic
binding has a run-time cost of both time and memory (virtual table). This
video demos a polymorphism with static binding, which has the benefits of
plymorphism without the cost of virtual table.
http://www.youtube.com/watch?v=-WV9vWjhI3g&list=PLE28375D4AC946
d****n
发帖数: 1637
2
+1
are you Bo tang?
d******3
发帖数: 70
3
No, I am not.
b*******s
发帖数: 5216
4
挺好的

dynamic

【在 d******3 的大作中提到】
: Everyone knows how to use the Polymorphism with dynamic binding. But dynamic
: binding has a run-time cost of both time and memory (virtual table). This
: video demos a polymorphism with static binding, which has the benefits of
: plymorphism without the cost of virtual table.
: http://www.youtube.com/watch?v=-WV9vWjhI3g&list=PLE28375D4AC946

m*******l
发帖数: 12782
5
这个视频一开始就概念错误

dynamic

【在 d******3 的大作中提到】
: Everyone knows how to use the Polymorphism with dynamic binding. But dynamic
: binding has a run-time cost of both time and memory (virtual table). This
: video demos a polymorphism with static binding, which has the benefits of
: plymorphism without the cost of virtual table.
: http://www.youtube.com/watch?v=-WV9vWjhI3g&list=PLE28375D4AC946

1 (共1页)
进入Programming版参与讨论
相关主题
[合集] 基类函数已经是virtual了,为啥子类还要virtual啊?C++ questions
[合集] 问两个C++面试题目, 请指点, 谢谢 (转载)请教 C++的一个困惑 (operator delete)
C++ Template Question请教C++类设计问题
private destructorOverridden function will cause function shadow in C++, but not in Java
static variable in template header问个虚函数的作用
why use template?[合集] Effective C++上说要少用casting,但是polymorphism一定要用到c
关于c++ classes的interview test[合集] c++的dynamic_cast是如何实现的?
C++面试题问几个C++面试题吧
相关话题的讨论汇总
话题: binding话题: static话题: dynamic话题: c++