[cxx-abi-dev] Mangling for C++0x ref-qualifier

Mike Herrick mjh at edg.com
Fri Jan 28 19:44:42 UTC 2011


On Jan 26, 2011, at 12:36 PM, Doug Gregor wrote:

> We don't yet have a mangling for C++0x ref-qualifiers, e.g.,
> 
>  struct X {
>    int f() &;
>    int g() &&;
>    int h() const &&;
>  };
> 
> I propose that we use 'R' for a & ref-qualifier and 'O' for a &&
> ref-qualifier, following the mangling of the cv-qualifiers for the
> member function. The attached patch has the specifics.
> 
>  - Doug
> <ref-qualifier-abi.patch>

Looks okay to us.

Mike.



More information about the cxx-abi-dev mailing list