除了对派生类可见或不可见的正常表达外,还有其他区别吗?
如果你让它更明显,它是否会占用更多或更少的记忆,它会减慢速度还是......?
c++ inheritance private protected public
c++ ×1
inheritance ×1
private ×1
protected ×1
public ×1