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

📄 instantiate4.c

📁 gcc-you can use this code to learn something about gcc, and inquire further into linux,
💻 C
字号:
// Build then link:// Special g++ Options: -frepo -Werror// Submitted by Melissa O'Neill <oneill@cs.sfu.ca>// the vtable of Foo<int> wouldn't be generatedtemplate <typename A>struct Foo {   virtual void foo() {}};template <typename A>struct Bar {      void bar();};template <typename A> void Bar<A>::bar() {   Foo<A> oof;}int main () {    Bar<int> rab;        rab.bar();}

⌨️ 快捷键说明

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