access4.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 19 行

C
19
字号
// { dg-do compile }// Origin: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>// PR c++/7347// Access control for typename during instantiationtemplate <int dim> class Base {  protected:    typedef int T;};template <int dim> class D : public Base<dim> {  public:    typedef typename Base<dim>::T T1;    D (T1 t);};D<2> d(1);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?