?? implicit-typename1.c
字號:
// The -pedantic option must be omitted to trigger the crash.// { dg-do compile }// { dg-options "" }// PR c++/7982: Crash warning about implicit typename.// The base class refers to another typename, while the// name lookup finds a template.template <typename T> struct X {};template <typename T> struct C { typedef typename T::X X;};template <typename T> struct A : public C<T> { typedef X<int> X; // { dg-warning "lookup|dependent base|typename" }};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -