3 ms·
Designated init and compound literals were added in C99. I think there are two reasons for those features not being better known: 1) C++ 'forked' their C subse
by flohofwoe 4y ago
Designated init and compound literals were added in C99. I think there are two reasons for those features not being better known:
1) C++ 'forked' their C subset before C99 (ca. "C95"), and while C++20 finally got its own version of designated init, this has so many restrictions compared to C99 that it is basically pointless.
2) MSVC hasn't supported any important C99 features until around 2016