由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] C++ pure virtual function question
相关主题
Can we define pure virtual function? (转载)const X& operator+(const X& rhs) const;
C++ virtual function 问题question regarding effective c++ by Meyers
[合集] can destructor be pure virtual function in c++?Scott Meyers的书有必要通读一遍吗?
Calling pure virtual method请教如何提高C++编程(面试)能力?
why use static function here?老板嫌我C++太差!请推荐。
C++里关于函数的return type 前面加const都是高手,大牛们就别争执了
内存池这个玩意...C++必备书籍推荐
[合集] 有人看过Scott Meyers 的EFFECTIVE C++ 系列么?Scott Meyers 'retires from C++'
相关话题的讨论汇总
话题: c++话题: virtual话题: pure话题: function话题: question
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
gebitan (she is coming soon...........) 于 (Thu Jul 21 16:54:29 2005) 提到:
I always thought that a pure virtual function can not have implementation. But
after I read scott meyers's effective C++ (2nd ed) item 36, he did make the i
mplementation for the pure virtual function. but I can not understand why he u
se it.What's the advantage of using it? Anybody can explain it a little bit?
Thanks a lot.
☆─────────────────────────────────────☆
crystalike
1 (共1页)
进入Programming版参与讨论
相关主题
Scott Meyers 'retires from C++'why use static function here?
想找个C++11的咨询师,挺难啊C++里关于函数的return type 前面加const
那本 C++书比较好啊?内存池这个玩意...
Help! Virtual Destructor[合集] 有人看过Scott Meyers 的EFFECTIVE C++ 系列么?
Can we define pure virtual function? (转载)const X& operator+(const X& rhs) const;
C++ virtual function 问题question regarding effective c++ by Meyers
[合集] can destructor be pure virtual function in c++?Scott Meyers的书有必要通读一遍吗?
Calling pure virtual method请教如何提高C++编程(面试)能力?
相关话题的讨论汇总
话题: c++话题: virtual话题: pure话题: function话题: question