sts_conv.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 20 行
C
20 行
// ecgs-bugs 1999-02-22 14:21, Stefan Schwarzer // sts@ica1.uni-stuttgart.de// this code should compile quietlyclass CArray {public: operator double* (){ return a; } // works if we comment this line: operator double* () const { return const_cast<double *>(a); }private: double a[2]; };int main(){ CArray a; double *pa = a + 1; // gets bogus error - should convert return 0; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?