Re:What Is Rust's Hole Purpose?
by rwaksmunski on Friday February 18, 2022 @06:50PM
(#30392817)
C++ is no longer backwards compatible with modern C.
[ Parent
| on HN ]
C++ compatibility has improved. E.g. I've noticed that C++20 has designated initializers for struct members, which were introduced in C99. So now if you're writing C that has to compile as C++, you can use C99 designated initializers, if you're OK with requiring C++20.