[cxx-abi-dev] Transfer modes for parameters and return values
Jason Merrill
jason at redhat.com
Fri Nov 23 20:37:54 UTC 2012
On 06/03/2009 04:59 PM, David Vandevoorde wrote:
> In 3.1.1 and 3.1.4, the ABI specifies that "by value" class type
> parameters and class type return values are passed via the address of a
> reference if the class type has
> (a) a nontrivial destructor, or
> (b) a nontrivial copy constructor.
>
> Should we now also add to that:
> (c) a (nontrivial) move constructor
> ?
This change doesn't seem to have been applied to the ABI, though G++
implements it. What are other compilers doing?
Jason
More information about the cxx-abi-dev
mailing list