Search code examples
How to access a member of a union without naming it?...

cunions

Read More
Zig - Initializing a slice literal of union enum...

initializationsliceunionsliteralszig

Read More
Do pointers to different types match the "common initial sequence" rule?...

cunions

Read More
Define variable as member of c union?...

cstructunions

Read More
What is the right syntax for declaring members that are struct or union?...

cstructsyntaxunions

Read More
How do initial members, common initial sequences, anonymous unions, and strict aliasing interact in ...

cpointerslanguage-lawyerunionsstrict-aliasing

Read More
What is a designated initializer in C?...

cstructunionsinitializerdesignated-initializer

Read More
Can I create color struct that works on different endians?...

cstructcolorsendiannessunions

Read More
Can you implicitly activate array member of union in a C++20 constexpr constructor?...

c++c++20constexprunions

Read More
Union of unsigned short and anonymous bitfield...

c++unionsbit-fields

Read More
Defined behaviour for union with 24-bit and 8-bit vars...

c++unionsbit-fields

Read More
SFML C++ union constructor is implicitly deleted because the default definition would be ill formed...

c++structconstructorsfmlunions

Read More
Initialization of c struct including union...

cstructinitializationunions

Read More
Size of Union and why it gives back an 24...

csizeofunions

Read More
Calculating malloc size of a tagged union (without over-allocating)...

cunions

Read More
Unions and values stored...

cunions

Read More
How to correctly use flexible array member?...

cunionsflexible-array-member

Read More
How to simply access data in a union inside of a struct?...

cstructunions

Read More
Error while initializing the union of struct member in c...

arrayscinitializationstructureunions

Read More
Casting at compile time...

ccastingunions

Read More
Is accessing a member of an unaligned union undefined behavior even if the member being accessed is ...

clanguage-lawyerundefined-behaviorunionsmemory-alignment

Read More
Exposing union's variables as class member variables...

c++templatesunions

Read More
Can I use a union mapping a list of member against a struct?...

c++unions

Read More
std::formatter c++ 20 with union and struct...

c++structc++20unionsstdformat

Read More
Active member of a union created directly through memcpy() or std::bit_cast()?...

c++language-lawyerc++20unions

Read More
I can't pinpoint why memory gets corrupted while working with Recursive Tagged Union in Zig...

enumsunionsrecursive-datastructureszig

Read More
C++11 anonymous union with non-trivial members...

c++c++11constructorunionsanonymous-class

Read More
How to compile C code with anonymous structs / unions?...

c++cunionsanonymous-classanonymous-struct

Read More
Generic datatype in c...

cgenericsunions

Read More
Is it allowed to use unions for type punning, and if not, why?...

c++cunionslanguage-designtype-punning

Read More
BackNext