
20 Feb
2004
20 Feb
'04
12:57 p.m.
David Abrahams wrote:
Brian McNamara <lorgon@cc.gatech.edu> writes:
One other quick note: throughout this message, I am abusing terminology, and use "by value" to mean either by-value or by-const-&
Unfortunately, at least until 8.5.3/5 is reworded, those are not equivalent for some types :(
See std::auto_ptr.
Yeah, I know, types like that are anathema in FP ;-) Still, they exist in the real world of C++.
Pass by value and pass by const reference have different semantics for std::auto_ptr regardless of 8.5.3/5.