Search code examples
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
What does "request for member '*******' in something not a structure or union" mea...


cstructunions

Read More
Is type-punning through a union unspecified in C99, and has it become specified in C11?...


cc99unionsc11type-punning

Read More
Best way to interpret a byte array as a struct in C++...


c++structunionsraw-data

Read More
sockaddr structures as union...


c++unionssockaddr

Read More
Rationale behind active members of unions...


c++unions

Read More
How to check what type is currently used in union?...


cunions

Read More
Union retains both values in case of int with double...


cunions

Read More
Can a union be larger than the the largest member when the largest member is a primitive type?...


clanguage-lawyersizeofunions

Read More
Can anonymous union be simply `const` (not `constexpr`)?...


c++c++11constantslanguage-lawyerunions

Read More
BackNext