[cxx-abi-dev] C++0x: Mangling of rvalue reference types

Mark Mitchell mark at codesourcery.com
Thu Jun 28 19:38:14 UTC 2007


Doug Gregor wrote:
> 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

That makes sense to me too.

I'd suggest that you prepare an HTML patch to reflect that.  We don't
have a formal procedure for amending the ABI document, but, in practice,
what we do is:

1. Post the HTML patch with a description here.
2. Wait a week or so.
3. Check it in.

-- 
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713



More information about the cxx-abi-dev mailing list