Does C++ have sequence points ?

T

Timothy Madden

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
 
V

Victor Bazarov

Timothy said:
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
 
D

Derrick Coetzee

Timothy said:
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.)
 
T

Timothy Madden

Derrick Coetzee said:
....

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
 
P

Peter van Merkerk

Timothy said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top