[cxx-abi-dev] Transfer modes for parameters and return values
Jason Merrill
jason at redhat.com
Wed May 7 18:44:06 UTC 2014
On 05/07/2014 02:35 PM, Richard Smith wrote:
> I could live with that (but the currently-proposed language change
> doesn't allow it; we'd need to remove the accessibility check there).
> Drop the "declared as", though - I don't think it should matter how the
> functions came to be deleted.
>
> I think I'd also prefer to phrase this in a way that's not dependent on
> whether a deleted function is trivial.
>
> "[Pass an object of class type by value if] every copy constructor and
> move constructor is deleted or trivial and at least one of them is not
> deleted, and the destructor is trivial."
I'm OK with that.
Jason
More information about the cxx-abi-dev
mailing list