News for hackers. Stuff that matters.
Re:TIL you can make a C++ object smaller by adding a field by junippor on Wednesday April 14, 2021 @08:21AM (#26806080)
Cue HN on what a horrible language C++ is, and how soon enough everyone will be using Rust instead.
Re:TIL you can make a C++ object smaller by adding a field by Olipro on Tuesday April 13, 2021 @07:41PM (#26801064)
`[[no_unique_address]]` in C++20 should also resolve this and permit a zero-size object.