private和protected的使用原则问题.
private:对于派生类是无效的
protect:对于派生类是完全可见的,而对于其他类是私有的。
请问:在多重继承方面,对于(共享)基类,如何选择是用private还是protected?
大哥,借你的地方一用,我不知道怎么发帖子。你能告诉我么?
那位大侠能分析一下下面是怎么回事!
template
<
typename R = void,
template <typename, class> class CatchAll = DefaultCatchAll
>
template <class TList, typename R = void> class BaseVisitorImpl;
template <class Head, class Tail, typename R>