By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,558 Members | 1,603 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,558 IT Pros & Developers. It's quick & easy.

Does C++ have sequence points ?

P: n/a
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
Jul 22 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Timothy Madden wrote:
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 ...


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
Jul 22 '05 #2

P: n/a
Timothy Madden wrote:
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 ...


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.
Jul 22 '05 #3

P: n/a

"Derrick Coetzee" <dc****@moonflare.com> wrote in message
news:ci**********@news-int2.gatech.edu...
Timothy Madden wrote:
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
....
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.)


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
Jul 22 '05 #4

P: n/a
Timothy Madden wrote:
"Derrick Coetzee" <dc****@moonflare.com> wrote in message
news:ci**********@news-int2.gatech.edu...
Timothy Madden wrote:
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


...
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.)

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 ?

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
Jul 22 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.