[cxx-abi-dev] Transfer modes for parameters and return values

Lawrence Crowl crowl at google.com
Wed Jun 3 21:23:00 UTC 2009


On 6/3/09, David Vandevoorde <daveed at edg.com> wrote:
> Hello again,
>
>  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
>  ?
>
>  (There is currently no notion of "trivial move constructor", but I think
> there are suggestions to introduce that in the future.)

I'm not sure I can predict the binary consequences of such a notion
until it is actually defined.  So, I would rather wait until then.

-- 
Lawrence Crowl



More information about the cxx-abi-dev mailing list