Sujet : Re: Can you please verify that the analysis of these C functions is correct?
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.c comp.lang.c++Date : 22. Jun 2024, 19:00:36
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v573g3$3s8q3$2@raubtier-asyl.eternal-september.org>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
Am 22.06.2024 um 19:20 schrieb Richard Damon:
C++ made a special rule for the << operator because the gain for its use as an output was high enough, and the cost as a normal shift operator was rarely high (and normally hidden by the "as if" rule) so it was done there.
I guess C++ doesn't make a statement on that and the ordered behaviour
depens in the cascaded return of the stream-object.