C++ safe union / Herb Sutter

Content:

Original link: My little New Year’s Week project (and maybe one for you?) / Herb Sutter blog.

I am not sure that I get the point. Yes - C++ want to become more "safe". But whenever I use union it is usually to access the same memory as two different types - ensuring that I only read the type written makes it uninteresting to me.

Comments: