Posted 2025-01-25 Joe Chu cpp2 minutes read (About 363 words)Avoid Naked UnionTo ensure safety, encapsulate the union within a class or struct.Read more
Posted 2024-11-23 Joe Chu cpp5 minutes read (About 703 words)Performance Gains with UnionThe power of Unions for efficient memory usage and performance improvement.Read more
Posted 2024-06-04 Joe Chu cpp5 minutes read (About 714 words)Union in C++A union is a special class type that can hold only one of its non-static data members at a time.Read more