Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #88992
| From | Keith Thompson <Keith.S.Thompson+u@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c++, comp.lang.c |
| Subject | Re: lvalue assignment difference between C and C++ |
| Date | 2023-02-06 12:47 -0800 |
| Organization | None to speak of |
| Message-ID | <87zg9qed24.fsf@nosuchdomain.example.com> (permalink) |
| References | (2 earlier) <trm2tb$224hr$1@dont-email.me> <tro15s$2f7lc$1@dont-email.me> <trqh4c$31588$1@dont-email.me> <trqueg$33cks$1@dont-email.me> <trr7ku$3559m$1@dont-email.me> |
Cross-posted to 2 groups.
Muttley@dastardlyhq.com writes:
> On Mon, 6 Feb 2023 14:13:51 +0100
> David Brown <david.brown@hesbynett.no> wrote:
>>On 06/02/2023 10:26, Muttley@dastardlyhq.com wrote:
>>> On Sun, 5 Feb 2023 11:42:04 +0100
>>> David Brown <david.brown@hesbynett.no> wrote:
>>>> On the other hand, the vast majority of C compilers are /not/ C++
>>>
>>> Ok, I should have said most of the *common* C++ compilers are also C
>>compilers.
>>>
>>
>>No, that would still be wrong. You should have said - as I wrote - that
>>most C++ compilers have a C compiler as part of their toolchain packages.
>
> You're splitting hairs. "Compiler" for most people is the entire toolchain,
> not one particular part of it.
Perhaps, but the reason you said that most C compilers are also C++
compilers (or however you phrased it) was to support the idea that
it would be trivial to implement rvalue conditional expressions in C.
The part of a C compiler that implements conditional expressions is,
in all cases I'm aware of, distinct from the part of a C++ compiler
that implements conditional expressions. Possibly some code could
be borrowed, but it's not just a matter of turning off a restriction.
The "entire toolchain" is not relevant to the point you raised.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for XCOM Labs
void Void(void) { Void(); } /* The recursive call of the void */
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
lvalue assignment difference between C and C++ Muttley@dastardlyhq.com - 2023-02-04 15:30 +0000
Re: lvalue assignment difference between C and C++ Richard Damon <Richard@Damon-Family.org> - 2023-02-04 11:04 -0500
Re: lvalue assignment difference between C and C++ Muttley@dastardlyhq.com - 2023-02-04 16:59 +0000
Re: lvalue assignment difference between C and C++ Richard Damon <Richard@Damon-Family.org> - 2023-02-04 13:02 -0500
Re: lvalue assignment difference between C and C++ Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-02-04 12:45 -0800
Re: lvalue assignment difference between C and C++ David Brown <david.brown@hesbynett.no> - 2023-02-05 11:42 +0100
Re: lvalue assignment difference between C and C++ Muttley@dastardlyhq.com - 2023-02-06 09:26 +0000
Re: lvalue assignment difference between C and C++ Öö Tiib <ootiib@hot.ee> - 2023-02-06 03:27 -0800
Re: lvalue assignment difference between C and C++ Muttley@dastardlyhq.com - 2023-02-06 15:49 +0000
Re: lvalue assignment difference between C and C++ David Brown <david.brown@hesbynett.no> - 2023-02-06 14:13 +0100
Re: lvalue assignment difference between C and C++ Muttley@dastardlyhq.com - 2023-02-06 15:50 +0000
Re: lvalue assignment difference between C and C++ David Brown <david.brown@hesbynett.no> - 2023-02-06 20:08 +0100
Re: lvalue assignment difference between C and C++ Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-02-06 12:47 -0800
Re: lvalue assignment difference between C and C++ Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-02-06 13:03 -0800
Re: lvalue assignment difference between C and C++ Muttley@dastardlyhq.com - 2023-02-07 09:24 +0000
Re: lvalue assignment difference between C and C++ Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-02-07 11:08 -0800
Re: lvalue assignment difference between C and C++ Muttley@dastardlyhq.com - 2023-02-08 09:23 +0000
Re: lvalue assignment difference between C and C++ Blue-Maned_Hawk <bluemanedhawk@gmail.com> - 2023-02-08 22:13 -0500
Re: lvalue assignment difference between C and C++ James Kuyper <jameskuyper@alumni.caltech.edu> - 2023-02-08 22:53 -0500
Re: lvalue assignment difference between C and C++ Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-02-08 22:12 -0800
Re: lvalue assignment difference between C and C++ Ben Bacarisse <ben.usenet@bsb.me.uk> - 2023-02-08 02:52 +0000
Re: lvalue assignment difference between C and C++ Paavo Helde <eesnimi@osa.pri.ee> - 2023-02-06 09:11 +0200
Re: lvalue assignment difference between C and C++ Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-02-06 01:01 -0800
Re: lvalue assignment difference between C and C++ Richard Damon <Richard@Damon-Family.org> - 2023-02-06 07:42 -0500
Re: lvalue assignment difference between C and C++ Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-02-06 12:59 -0800
Re: lvalue assignment difference between C and C++ Bonita Montero <Bonita.Montero@gmail.com> - 2023-02-07 07:44 +0100
Re: lvalue assignment difference between C and C++ Paavo Helde <eesnimi@osa.pri.ee> - 2023-02-07 09:18 +0200
Re: lvalue assignment difference between C and C++ Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-02-07 07:50 -0800
Re: lvalue assignment difference between C and C++ Kaz Kylheku <864-117-4973@kylheku.com> - 2023-02-06 22:21 +0000
Re: lvalue assignment difference between C and C++ Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-02-06 14:43 -0800
Re: lvalue assignment difference between C and C++ Bonita Montero <Bonita.Montero@gmail.com> - 2023-02-04 19:41 +0100
Re: lvalue assignment difference between C and C++ Andrey Tarasevich <andreytarasevich@hotmail.com> - 2023-02-10 16:19 -0800
Re: lvalue assignment difference between C and C++ Armando di Matteo <armando.dimatteo87@gmail.com> - 2023-02-21 09:15 -0800
Re: lvalue assignment difference between C and C++ Andrey Tarasevich <andreytarasevich@hotmail.com> - 2023-02-21 09:46 -0800
Re: lvalue assignment difference between C and C++ Muttley@dastardlyhq.com - 2023-02-22 09:29 +0000
Re: lvalue assignment difference between C and C++ Öö Tiib <ootiib@hot.ee> - 2023-02-22 01:46 -0800
Re: lvalue assignment difference between C and C++ Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-02-22 06:36 -0800
csiph-web