inherit2.c
来自「linux下编程用 编译软件」· C语言 代码 · 共 20 行
C
20 行
// PR c++/5658// Copyright (C) 2002 Free Software Foundation, Inc.// Contributed by Theodore.Papadopoulo 11 Feb 2002 <Theodore.Papadopoulo@sophia.inria.fr>struct A { typedef int iterator;};template <typename T>struct B: public A { template <typename U> struct iterator { }; B() { }};int main() { B<int> a; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?