SpiceQA
Questions Tags Users Badges

unions

142 Questions
Newest Active Unanswered Frequent
Score
View
Card Compact
Use union to defer member variable construction
user_44810140
• asked Aug 1, 2020
3
2
94
unions initialization destructor c++
Is offsetof of a union member always zero?
user_4711640
• asked Jul 31, 2020
5
2
966
unions c++
Typing dynamic object fields
user_128123860
• asked Jul 15, 2020
2
1
52
typescript unions
Rust: Using two u8 struct fields as a u16
user_76747020
• 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_19003840
• asked Jul 4, 2020
7
1
778
type-hinting unions python
Aggregate initialization of anonymous struct with designated initializers
user_55349930
• 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_84700790
• asked Jun 25, 2020
3
1
173
unions c++-standard-library struct templates c++
Destructor of union member seems to be called automatically
user_32848780
• 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_7588010
• asked Jun 22, 2020
2
1
254
rust unions
Is using std::memcpy on a whole union guaranteed to preserve the active union member?
Admin1
• asked Jun 8, 2020
5
4
293
undefined-behavior memcpy unions c++
  • PrevPrev
  • 5
  • 6
  • 7 (current)
  • 8
  • 9
  • NextNext
Hot Questions
Terms of service Privacy policy
Powered by Answer