Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unions

C union assignment

c unions

Active member of an union after assignment

struct/union initialization confusion

c struct unions

Static const anonymous union gives "uninitialized const" error using GCC 4.9.3

Will elements of an array of type uint8_t always be packed into consecutive bytes of memory?

F# - Create a Recursive Discriminated Union at Runtime

Initializing union of two structs with common initial sequnce

c language-lawyer unions

Are there any uses for untyped unions(w/out a type tag)?

Where to use union, class and struct?

c++ class struct 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