SpiceQA
Questions
Tags
Users
Badges
unions
142 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Cast pointer to union to known base class of unknown active member
user_636917
0
•
asked Sep 20, 2022
2
1
70
unions
casting
inheritance
c++
How can unions be used to bypass strict aliasing violations?
user_16217248
0
•
asked Sep 9, 2022
2
2
87
strict-aliasing
undefined-behavior
unions
c
Using memcpy to switch active member of union in C++
user_14721148
0
•
asked Sep 2, 2022
1
4
75
undefined-behavior
memcpy
unions
c++
How can I find the size of an enum while ignoring the discriminant?
user_155423
0
•
asked Aug 31, 2022
2
1
65
rust
ffi
unions
enums
Active member of an union after assignment
user_14721148
0
•
asked Aug 31, 2022
10
1
339
undefined-behavior
unions
assignment-operator
c++
Union value in C
user_19602001
0
•
asked Aug 16, 2022
2
3
78
unions
output
c
Initialize struct with a union inside
user_19089415
0
•
asked Aug 3, 2022
2
2
88
unions
struct
c
Why is the size of the union greater than expected?
user_19611181
0
•
asked Jul 24, 2022
2
1
70
unions
bit-fields
c++
unable to read data from textfile and put it to structs and union to get output in another textfile and output window
user_19520432
0
•
asked Jul 10, 2022
1
2
47
unions
io
struct
c
file
Does bitfield count as common initial sequence with a whole int of the same type?
user_2104697
0
•
asked Jun 21, 2022
4
1
69
language-lawyer
unions
c++
1
(current)
2
3
4
5
Next
Next
Hot Questions