📄 access3.c
字号:
// { dg-do assemble }// The standard sez that a use of a name gets the most access it can through// the various paths that can reach it. Here, the access decl in B gives// us access.struct A{ void f (); };struct B: private virtual A{ A::f;};struct C: private virtual A, public B{};intmain (){ C c; c.f (); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -