visibility15.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 26 行
C
26 行
// Build don't link: // GROUPS passed visibility// visibility file// From: wpsun4!xinforms!johnjo@uunet.uu.net (John D. Johnson)// Date: Wed, 4 Aug 93 13:25:25 MDT// Subject: Access to private 'operator new()'// Message-ID: <9308041925.AA09825@xinforms.wpunix#include <stdio.h>#include <sys/types.h>class X {private: void* operator new(size_t) throw(){// ERROR - .* printf("Inside private new().\n"); return NULL; }public: X() {}};int main(void){ X* p = new X;// ERROR - .*}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?