Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Doug Gregor <doug.gregor@xxxxxxxxx>
  • Subject: Re: [cxx-abi-dev] C++0x: Mangling of rvalue reference types
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Thu, 28 Jun 2007 12:38:14 -0700

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@xxxxxxxxxxxxxxxx
(650) 331-3385 x713