Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
etc
config
src
OFFSETOF.cpp
Go to the documentation of this file.
1
// checking for a working offsetof() in <stddef.h>
2
3
25
#include <
stddef.h
>
26
27
struct
S
28
{
29
int
i
[2][2];
30
};
31
32
int
main
()
33
{
34
return
!(
offsetof
(
S
, S::i [0][1]) !=
offsetof
(
S
, S::i [1][0]));
35
}
i
#define i
Definition
17.names.cpp:126
main
int main()
Definition
OFFSETOF.cpp:32
offsetof
#define offsetof(class, member)
stddef.h
S
Definition
COLLAPSE_TEMPLATE_STATICS.cpp:40
Generated by
1.9.8