Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unions

Interpreting bits in union fields as different datatypes in C/C++

c++ c bit-manipulation unions

How does the two different syntax of union declaration give me different size?

c++ struct sizeof unions

How do initial members, common initial sequences, anonymous unions, and strict aliasing interact in C?

Returning the active member of a union using a function within it

c++ c++14 unions

Implicitly defined constructor deleted due to variant member, N3690/N4140 vs N4659/N4727

Is `reinterpret_cast` on `this` inside union-like class an undefined behavior?

Unions in c++ and bitwise operations

Why can union be used this way?

c unions

How does printing a union itself and not its member work in C?

c types printf unions

Byte size of union and struct

c++ struct unions

Transpose columns and rows in Firebird 2.5

How to create an instance of tagged union given I have key and value for it

typescript generics unions

Accessing first field of struct in a union of structs

Formatting Unions inside bitfields in C

c unions bit-fields

Inspect inactive member of a union with common initial sequence in constexpr expression

Using C unions to "reserve" space in data - reasonable?

c embedded storage unions

Can an array of a union type be cast to a pointer of the active type?

c++ arrays pointers unions