dependent-name2.c

来自「xml大全 可读写调用率很高 xml大全 可读写调用率很高」· C语言 代码 · 共 19 行

C
19
字号
// { dg-do compile }// Copyright (C) 2003 Free Software Foundation, Inc.// Contributed by Nathan Sidwell 1 Aug 2003 <nathan@codesourcery.com>// PR 10530. Thought a type was dependent.template <typename T>struct Foo {  struct Inner {    typedef int type;  };};template <typename A> struct Bar {  typedef typename Foo<int>::Inner::type type;};

⌨️ 快捷键说明

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