offsetof4.c
来自「linux下编程用 编译软件」· C语言 代码 · 共 14 行
C
14 行
// { dg-do compile }// Contributed by Bill Helfinstine <bhelf at flitterfly dot whirpon dot com>// PR c++/14932: Allow subscript operator in offsetof#include <cstddef>struct A{ int bar; int foo[22];};const int off = offsetof(A, foo[12]);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?