ctors5.c

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

C
34
字号
// Build don't link: // GROUPS passed constructors// ctors file// Subject: bug in handling static const object of the enclosing class// Date: Tue, 1 Sep 92 10:38:44 EDTclass X{ // ERROR - candidate  private:    int x;  public:    static const X x0;    X( int );};class Y{  private:    X xx;  public:    Y();}X::X( int xi ){// ERROR -  return.*    x = xi;}const X X::x0( 0 );Y::Y(){// ERROR -  no mat    xx = X::x0;}

⌨️ 快捷键说明

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