Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unions

Why is my union's size bigger than I expected?

c++ unions

Can an Ada Variant Record be binary compatible to a C++ union?

c++ record ada unions variant

How to create a union with a 32 bit int and four 8 bit char types that each refer to difference slice of the 32 bit int?

c++ unions

union initialisation

c++ c unions

Can you write a copy constructor for a union with const members?

c++ unions

C++ lifetime of union member

union containing only one struct

c struct unions

Can we use va_arg with unions?

What kind of conversion is this code doing?

c unions

Is this use of unions in C valid/compliant?

c struct unions

C2280: attempting to reference a deleted function (union, struct, copy constructor)

Why aligning of long long union member is bigger than the containing union/struct? Is this correct?

Would this union work if char had stricter alignment requirements than int?

c alignment iso unions

What is the correct way to check equality between instances of a union?

c++ c unions

memcpy a void pointer to a union

c unions

... with constructor not allowed in union problem

c++ visual-c++ gcc struct unions

Is the following C union access pattern undefined behavior?

Conceptual problem in Union

c++ c unions

Getting Union, Intersection, or Difference of Sets in C++

c++ map set intersection unions