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

Jason Merrill jason at redhat.com
Wed May 7 02:57:08 UTC 2014


On 05/06/2014 09:31 PM, Richard Smith wrote:
> The core language part of this (core issue 1590) is now in 'ready'
> status. Time to go ahead with the corresponding ABI change?

On 11/26/2012 04:09 PM, Richard Smith wrote:> Suggestion for Itanium > 
Suggestion for Itanium ABI:
>
> [parameters and return values are passed by address if] the type has a non-trivial copy constructor, move constructor or destructor, or if neither the copy constructor nor the move constructor is public and non-deleted.

I disagree with the latter part of this; passing by invisible reference 
should based on triviality, not on callability.

Jason



More information about the cxx-abi-dev mailing list