C++0x: Mangling of rvalue reference types

Doug Gregor doug.gregor at gmail.com
Thu Jun 28 19:09:39 UTC 2007


C++0x, the upcoming revision of the ISO C++ standard, is going to
require some additions to the C++ ABI. Here's the first one, which is
quite trivial:

I suggest that rvalue references be mangled as 'RR' (lvalue references
are mangled as 'R'). Since we can't have a reference-to-reference,
there is no ambiguity.

     <type> ::= RR <type>   # rvalue reference-to

  - Doug



More information about the cxx-abi-dev mailing list