⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 enum14.c

📁 this is a gcc file, you can download it and learn its usetility, for further detail please look at t
💻 C
字号:
// Build don't link:// Copyright (C) 2000 Free Software Foundation, Inc.// Contributed by Nathan Sidwell 4 Oct 2000 <nathan@codesourcery.com>// Origin: bug 511 malte.starostik@t-online.de// Bug 511. We failed to set access correctly for enumeration members of// template classestemplate <class>class A{  public:  enum foo {bar};  typedef int baz;};struct C: public A<int>{  void choke (foo);  void choke (baz);};template <class>struct B{  private:  enum foo {bar}; // ERROR - private  typedef int baz;  // ERROR - private};struct D: public B<int>{  void choke (foo);   // ERROR - within this context  void choke (baz);   // ERROR - within this context};

⌨️ 快捷键说明

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