union

C++ Core Guidelines: Rules for Unions

A union is a special data type where all members start at the same address. A union can hold only one type at a time; therefore, you can save memory. A tagged union is a union that keeps track of its types.

Read more
Tags: Classes, union
Views: 64486

Mentoring

Stay Informed about my Mentoring

 

English Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Interactive Course: The All-in-One Guide to C++20

Subscribe to the newsletter (+ pdf bundle)

All tags

Blog archive

Source Code

Visitors

Today 3580

Yesterday 6374

Week 31204

Month 221280

All 11702434

Currently are 175 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments