logoalt Hacker News

nlyyesterday at 6:35 PM2 repliesview on HN

What C features can you not realistically use from C++?


Replies

201984yesterday at 9:28 PM

C11 atomics, C11 threads, variable length arrays, safely reading from an inactive union member, designated array initializers, compound struct literals, implicitly converting a void pointer to a typed one, and the list goes on.

anthkyesterday at 9:19 PM

People shoudld realize that since long ago C and C++ are not sub/supersets, but interesecting sets.