Connecting Tech Pros Worldwide Help | Site Map

Does C++ have sequence points ?

Timothy Madden
Guest
 
Posts: n/a
#1: Jul 22 '05
Hello

I've read a long time ago in the MSDN that C++ language defines no sequence
points
Now I read in the 1998 ISO standard a small list of sequence points in C++

Does C++ defines sequence points ? It really should if anyone asks me ...

Thank you
Timothy Madden
Romania
-----------------------------------------
And I don't wanna miss a thing


Victor Bazarov
Guest
 
Posts: n/a
#2: Jul 22 '05

re: Does C++ have sequence points ?


Timothy Madden wrote:[color=blue]
> I've read a long time ago in the MSDN that C++ language defines no sequence
> points
> Now I read in the 1998 ISO standard a small list of sequence points in C++
>
> Does C++ defines sequence points ? It really should if anyone asks me ...[/color]

If you are reading the 1998 Standard (for C++ language, I presume), why
are you asking _us_ whether C++ defines sequence points? It's spelled
out for you in the Standard. How else would we tell you except by looking
in the Standard?

V
Derrick Coetzee
Guest
 
Posts: n/a
#3: Jul 22 '05

re: Does C++ have sequence points ?


Timothy Madden wrote:[color=blue]
> I've read a long time ago in the MSDN that C++ language defines no sequence
> points
> Now I read in the 1998 ISO standard a small list of sequence points in C++
> Does C++ defines sequence points ? It really should if anyone asks me ...[/color]

As always, MSDN and other documentation merely seek to *describe* the
language, and may be wrong; they carry no authority whatsoever. The
standard *defines* the language, and so is always right, by definition.
Even if it says something that seems wrong, that's just the way it is
(some people refer to these as "bugs" in the standard.)
--
Derrick Coetzee
I grant this newsgroup posting into the public domain. I disclaim all
express or implied warranty and all liability. I am not a professional.
Timothy Madden
Guest
 
Posts: n/a
#4: Jul 22 '05

re: Does C++ have sequence points ?



"Derrick Coetzee" <dcnews@moonflare.com> wrote in message
news:cintfv$lh3$2@news-int2.gatech.edu...[color=blue]
> Timothy Madden wrote:[color=green]
> > I've read a long time ago in the MSDN that C++ language defines no[/color][/color]
sequence[color=blue][color=green]
> > points
> > Now I read in the 1998 ISO standard a small list of sequence points in[/color][/color]
C++[color=blue][color=green]
> > Does C++ defines sequence points ? It really should if anyone asks me[/color][/color]
....[color=blue]
>
> As always, MSDN and other documentation merely seek to *describe* the
> language, and may be wrong; they carry no authority whatsoever. The
> standard *defines* the language, and so is always right, by definition.
> Even if it says something that seems wrong, that's just the way it is
> (some people refer to these as "bugs" in the standard.)[/color]

Sorry but this is theory.
I had the enough bad luck to see the reverse in practice. Once I wrote web
pages
in HTML/CSS. Ask any web designer who makes the CSS standard:
Internet Explorer or the World Wide Web Consortium ?

Timothy Madden
Romania
----------------------------------
And I don't wanna miss a thing


Peter van Merkerk
Guest
 
Posts: n/a
#5: Jul 22 '05

re: Does C++ have sequence points ?


Timothy Madden wrote:[color=blue]
> "Derrick Coetzee" <dcnews@moonflare.com> wrote in message
> news:cintfv$lh3$2@news-int2.gatech.edu...
>[color=green]
>>Timothy Madden wrote:
>>[color=darkred]
>>>I've read a long time ago in the MSDN that C++ language defines no[/color][/color]
>
> sequence
>[color=green][color=darkred]
>>>points
>>>Now I read in the 1998 ISO standard a small list of sequence points in[/color][/color]
>
> C++
>[color=green][color=darkred]
>>>Does C++ defines sequence points ? It really should if anyone asks me[/color][/color]
>
> ...
>[color=green]
>>As always, MSDN and other documentation merely seek to *describe* the
>>language, and may be wrong; they carry no authority whatsoever. The
>>standard *defines* the language, and so is always right, by definition.
>>Even if it says something that seems wrong, that's just the way it is
>>(some people refer to these as "bugs" in the standard.)[/color]
>
>
> Sorry but this is theory.
> I had the enough bad luck to see the reverse in practice. Once I wrote web
> pages
> in HTML/CSS. Ask any web designer who makes the CSS standard:
> Internet Explorer or the World Wide Web Consortium ?[/color]


In that case: is your question about the C++ language (theory) or about
your compiler (practice). If it is about your compiler this is not the
best place to ask this question.

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl
Closed Thread