SpiceQA
Questions
Tags
Users
Badges
unions
142 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Use union to defer member variable construction
user_4481014
0
•
asked Aug 1, 2020
3
2
94
unions
initialization
destructor
c++
Is offsetof of a union member always zero?
user_471164
0
•
asked Jul 31, 2020
5
2
966
unions
c++
Typing dynamic object fields
user_12812386
0
•
asked Jul 15, 2020
2
1
52
typescript
unions
Rust: Using two u8 struct fields as a u16
user_7674702
0
•
asked Jul 10, 2020
2
1
474
rust
unions
struct
Why does a type hint `float` accept `int` while it is not even a subclass?
user_1900384
0
•
asked Jul 4, 2020
7
1
778
type-hinting
unions
python
Aggregate initialization of anonymous struct with designated initializers
user_5534993
0
•
asked Jul 2, 2020
2
2
636
anonymous-struct
aggregate-initialization
unions
g++
c++
Why would one wrap a struct in an anonymous union? (STL msvc implementation)
user_8470079
0
•
asked Jun 25, 2020
3
1
173
unions
c++-standard-library
struct
templates
c++
Destructor of union member seems to be called automatically
user_3284878
0
•
asked Jun 24, 2020
3
2
199
unions
destructor
c++
Is it possible to use a type to access a specific field of a Rust union?
user_758801
0
•
asked Jun 22, 2020
2
1
254
rust
unions
Is using std::memcpy on a whole union guaranteed to preserve the active union member?
Admin
1
•
asked Jun 8, 2020
5
4
293
undefined-behavior
memcpy
unions
c++
Prev
Prev
5
6
7
(current)
8
9
Next
Next
Hot Questions