Search code examples
Does union support flexible array members?...


cc99unionsflexible-array-member

Read More
Warning for anonymous union assignment in C...


ccompiler-warningsunionsdiscriminated-union

Read More
How to use bitfields that make up a sorting key without falling into UB?...


c++undefined-behaviorunionsbit-fields

Read More
Share member variables with member object for API backwards compatibility during refactor...


c++inheritanceunionsbackwards-compatibility

Read More
Incomplete type error when compiled with g++...


c++scopedeclarationunionsqualified-name

Read More
sizeof union giving unexpected results...


c++unions

Read More
Assigning std::function inside union crashes program...


c++copy-constructorunionsstd-function

Read More
Define pointer to memory with the size of union...


cpointersunions

Read More
An error in accessing a data member of a union...


c++unions

Read More
Mutually dependent structs in C...


cstructenumsunionsforward-declaration

Read More
Using static_assert to verify bitfields in a typedef union of a struct and an uint32_t...


c++typedefunionsbit-fieldsstatic-assert

Read More
Can I use union to convert between integers of various size?...


c++integerendiannessunionsportability

Read More
How can I prevent a nameless struct\union?...


c++structstandardsunions

Read More
How to declare variables in C unions?...


cunions

Read More
Avoid writing constructor every union style class in C++17...


c++templatesc++17unionscrtp

Read More
How to write a deduction guide for union type...


c++c++20unionsctad

Read More
C++ anonymous structs...


c++structunionsanonymous-struct

Read More
How do I construct a struct in a union?...


c++unions

Read More
How do you initialize a union member after the union itself was initialized?...


c++constructorinitializationunionsstdstring

Read More
C standard: structure and union specifiers: what is the exact definition of 'suitably converted&...


cstructlanguage-lawyerunionsc17

Read More
Union with const and non-const members...


cpointerslanguage-lawyerundefined-behaviorunions

Read More
Anonymous union/structure holding a generic vector...


c++genericsvectorunionsanonymous

Read More
How to know which variable value is set for union?...


clogicunions

Read More
C++11 move constructor for union-like class...


c++c++11unionsmove-constructor

Read More
Is there a problem with common initial sequence with this union of std::array's?...


c++unions

Read More
Taking union as a method parameter...


c++polymorphismunions

Read More
Function pointer as "tag" in tagged union...


cunions

Read More
Why is there a contradiction in the output by two programs written below (Unions in C)?...


cdata-structuresstructureunions

Read More
Struct union packing, unpacking and storing...


c++structc++17unions

Read More
union members may not have constructors, but `std::pair` okay?...


c++constructorunionsstd-pair

Read More
BackNext