
11 Feb
2004
11 Feb
'04
5:17 p.m.
David Abrahams wrote:
"Peter Dimov" <pdimov@mmltd.net> writes:
The compiler is allowed to elide a temporary created by a copy constructor.
The compiler is _not_ allowed to elide a temporary created by some other constructor, because this changes observable behavior and is not explicitly allowed.
I think what's explicitly allowed depends on your reading of 8.5.3/5
No, the relevant portion here is 12.8/15. I'll get back to the rest of your points later. :-)