Re: Guarantee of side-effect free assignment
* James Kanze:
I'd be very cautious about bringing the Meyers/Alexandrescu
discussion in here. They were interested solely with threading
issues.
Yes. What's interesting here is not the threading issues, but the
freedom the compiler has to reorder this particular expression, which in
the article is a premise for the threading issues discussion. This
premise is not said to rely on any threading considerations.
Summary: some folks think the standard allows the reordering, some folks
think it doesn't, and the latest draft adds language that seemingly
forbids the reordering, but has already been contested in this thread.
Summary of the summary: hm. :-)
Cheers,
- Alf
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]