先看第一种简单的情形,所有类中没有任何虚函数的菱形继承。
下面是c++源码:
class Top {//虚基类
public:
int i;
Top(int ii) {
i = ii;
}
};
class Left : public virtual Top {
public:
int j;
Left(int jj, int ii) : Top(ii) {
j = jj;
}
灵感的源泉
时尚
最酷的东西-fasd
z partialdirname => jump to dir
j dir => jumpt to dir with interact if need be
v conf => open file with conf in name
Vim
F10 => toggle paste mode in vim
jj