Sujet : Re: "A diagram of C23 basic types"
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 03. Apr 2025, 19:15:17
Autres entêtes
Organisation : None to speak of
Message-ID : <85a58xkt6y.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8
User-Agent : Gnus/5.13 (Gnus v5.13)
Opus <
ifonly@youknew.org> writes:
[...]
"Interestingly", committees seem to differ largely on the topic: the
C++ committee has been promoting making C a strict subset of C++ for
years, while the C committee is a lot less enthused by that idea.
Do you have a source for this?
As long as `int class;` is a valid C declaration, C cannot be a
strict subset of C++. (Objective-C, IIRC, *is* a strict superset
of C; it uses '@' for features that aren't in C.)
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */