3 ms·
There never was a "common C/C++ subset". See https://softwareengineering.stackexchange.com/a/298667/18260 https://softwareengineering.stackexchange.com/a/298667
by bjourne 3y ago
There never was a "common C/C++ subset". See https://softwareengineering.stackexchange.com/a/298667/18260 https://softwareengineering.stackexchange.com/a/298667/18260
- flohofwoe 3y agoAh that old thing again ;) C isn't a subset of C++ (and never was). But there's still a common subset of both the C and C++ languages which compiles both in a C compiler and a C++ compiler (and behaves the same at runtime despite slightly different C vs C++ semantics), and that common subset is what I call C/C++: the pidgin dialect that's neither quite C nor quite C++ but compiles as both.