Mangling for C++0x ref-qualifier

Doug Gregor doug.gregor at gmail.com
Wed Jan 26 17:36:43 UTC 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ref-qualifier-abi.patch
Type: application/octet-stream
Size: 2545 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20110126/50be95ad/attachment.obj>


More information about the cxx-abi-dev mailing list