Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

C++0x: Mangling of rvalue reference types


  • To: cxx-abi-dev@xxxxxxxxxxxxxxxx
  • Subject: C++0x: Mangling of rvalue reference types
  • From: "Doug Gregor" <doug.gregor@xxxxxxxxx>
  • Date: Thu, 28 Jun 2007 15:09:39 -0400

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