access3.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 27 行
C
27 行
// Build don't link:// 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 + =
减小字号Ctrl + -
显示快捷键?