SpiceQA
Questions
Tags
Users
Badges
offsetof
8 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Is it legal C to obtain the pointer to a struct from the pointer to its 2nd member?
user_5394746
0
•
asked Apr 24, 2022
2
2
140
language-lawyer
offsetof
struct
c
Using offsetof to access struct member
user_4989451
0
•
asked Oct 29, 2021
11
2
435
language-lawyer
offsetof
struct
c
Is possible to detect that a C struct has a field?
user_3246357
0
•
asked Mar 7, 2021
2
1
155
offsetof
struct
c
What does it mean for `offsetof` to be "conditionally-supported" for non standard-layout classes in C++17?
user_598696
0
•
asked Nov 27, 2017
23
1
2231
c++17
language-lawyer
offsetof
c++
Why offsetof implementations strangely differs on C and C++?
user_4467714
0
•
asked Nov 10, 2017
5
1
440
offsetof
c
c++
Is accessing members through offsetof well defined?
user_7691497
0
•
asked Oct 2, 2017
6
2
409
char-pointer
undefined-behavior
language-lawyer
offsetof
c
Does the 'offsetof' macro from <stddef.h> invoke undefined behaviour?
user_500104
0
•
asked Jun 21, 2011
18
6
3041
undefined-behavior
offsetof
c++
Why can't you use offsetof on non-POD structures in C++?
user_63791
0
•
asked Jul 15, 2009
52
11
29022
offsetof
c++
1
(current)
Hot Questions