5 Answered Questions

[SOLVED] Accessing inactive union member and undefined behavior?

4 Answered Questions

5 Answered Questions

[SOLVED] Unions and type-punning

15 Answered Questions

[SOLVED] Purpose of Unions in C and C++

15 Answered Questions

[SOLVED] Difference between a Structure and a Union

  • 2008-12-06 17:56:45
  • gagneet
  • 338552 View
  • 387 Score
  • 15 Answer
  • Tags:   c struct unions

6 Answered Questions

[SOLVED] Why does C++ disallow anonymous structs?

  • 2010-02-12 17:48:47
  • Adrian McCarthy
  • 49885 View
  • 85 Score
  • 6 Answer
  • Tags:   c++ struct unions

18 Answered Questions

[SOLVED] Why do we need C Unions?

  • 2008-10-31 03:51:40
  • ramu
  • 114777 View
  • 219 Score
  • 18 Answer
  • Tags:   c unions

6 Answered Questions

[SOLVED] C++ union in C#

  • 2008-09-24 12:20:32
  • Viktor Elofsson
  • 40421 View
  • 69 Score
  • 6 Answer
  • Tags:   c# c++ unions

8 Answered Questions

[SOLVED] sizeof a union in C/C++

  • 2009-04-11 18:27:19
  • Naveen
  • 56015 View
  • 40 Score
  • 8 Answer
  • Tags:   c++ c sizeof unions

10 Answered Questions

[SOLVED] How to compile C code with anonymous structs / unions?

6 Answered Questions

18 Answered Questions

[SOLVED] When would anyone use a union? Is it a remnant from the C-only days?

  • 2011-01-25 01:00:00
  • Russel
  • 68766 View
  • 123 Score
  • 18 Answer
  • Tags:   c++ c unions

7 Answered Questions

[SOLVED] gcc, strict-aliasing, and casting through a union

3 Answered Questions

[SOLVED] Can a union be initialized in the declaration?

6 Answered Questions

7 Answered Questions

[SOLVED] Anonymous union within struct not in c99?

6 Answered Questions

[SOLVED] Access struct members as if they are a single array?

2 Answered Questions

[SOLVED] C++11 anonymous union with non-trivial members

4 Answered Questions

[SOLVED] union for uint32_t and uint8_t[4] undefined behavior?

8 Answered Questions

[SOLVED] Examples of Union in C

  • 2009-04-07 08:15:16
  • claf
  • 52509 View
  • 32 Score
  • 8 Answer
  • Tags:   c unions

5 Answered Questions

[SOLVED] Is using an union in place of a cast well defined?

1 Answered Questions

[SOLVED] Union element alignment

  • 2009-05-21 05:14:06
  • Alex B
  • 9109 View
  • 20 Score
  • 1 Answer
  • Tags:   c alignment unions

3 Answered Questions

[SOLVED] How do boost::variant and boost::any work?

4 Answered Questions

[SOLVED] strict aliasing and alignment

3 Answered Questions

[SOLVED] C++ unions vs. reinterpret_cast

3 Answered Questions

[SOLVED] Is a Union Member's Destructor Called

1 Answered Questions

[SOLVED] Accessing same-type inactive member in unions

5 Answered Questions

[SOLVED] Why aren't bitfields allowed with normal variables?

2 Answered Questions

[SOLVED] Questions regarding C++ non-POD unions