?? scoped1.c
字號:
// Test that explicitly scoped references to static members work even if// they belong to an inaccessible base.struct A{ static int i1; int i2; // { dg-error "inaccessible" "" } static void f1 (); void f2 ();};struct B: private A { };struct C: public B{ void g () { ::A::i1 = 1; ::A::i2 = 1; // { dg-error "(access)|(context)" "" } ::A::f1 (); ::A::f2 (); // { dg-error "" } }};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -