Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unions

Union and Struct Initialization

c unions

Is it undefined behaviour to call a function with pointers to different elements of a union as arguments?

Constructor and copy-constructor for class containing union with non-trivial members

Best practice for unions in Go

go unions

Accessing same-type inactive member in unions

How to know that which variable from Union is Used?

c unions

Union common initial sequence with primitive

Is const-casting via a union undefined behaviour?

Is it legal and well defined behavior to use a union for conversion between two structs with a common initial sequence (see example)?

c++ c c99 unions c89

What are Unrestricted Unions proposed in C++11?

c++ c++11 unions

Is there a way to access individual bits with a union?

c structure bits unions

Is it valid to use bit fields with union?

c structure bit-fields unions

How to initialize a union? [duplicate]

c unions

Using a union with unique_ptr

Usage of union inside a class

c++ class unions

C++ unions vs. reinterpret_cast

c++ unions reinterpret-cast

C union type in Swift?

c swift unions

Anonymous union and struct [duplicate]

c++ c++11 struct unions

What's the major difference between "union" and "struct" in C.? [duplicate]

c++ c struct unions

memcpy/memmove to a union member, does this set the 'active' member?